# io.agora.rtc.VideoTrackInfo类 参考 (/zh-CN/api-reference/rtc-server-sdk/java/classio-1-1agora-1-1rtc-1-1-video-track-info)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
## 构造及析构函数说明 [#构造及析构函数说明]
### VideoTrackInfo() [1/2] [#videotrackinfo-12]
io.agora.rtc.VideoTrackInfo.VideoTrackInfo()
### VideoTrackInfo() [2/2] [#videotrackinfo-22]
io.agora.rtc.VideoTrackInfo.VideoTrackInfo(int *isLocal*, int *ownerUid*, int *trackId*, java.lang.String *channelId*, int *streamType*, int *codecType*, int *encodedFrameOnly*, int *sourceType*, int *observationPosition*)
## 成员函数说明 [#成员函数说明]
### getChannelId() [#getchannelid]
java.lang.String io.agora.rtc.VideoTrackInfo.getChannelId()
### getCodecType() [#getcodectype]
int io.agora.rtc.VideoTrackInfo.getCodecType()
### getEncodedFrameOnly() [#getencodedframeonly]
int io.agora.rtc.VideoTrackInfo.getEncodedFrameOnly()
### getIsLocal() [#getislocal]
int io.agora.rtc.VideoTrackInfo.getIsLocal()
### getObservationPosition() [#getobservationposition]
int io.agora.rtc.VideoTrackInfo.getObservationPosition()
### getOwnerUid() [#getowneruid]
int io.agora.rtc.VideoTrackInfo.getOwnerUid()
### getSourceType() [#getsourcetype]
int io.agora.rtc.VideoTrackInfo.getSourceType()
### getStreamType() [#getstreamtype]
int io.agora.rtc.VideoTrackInfo.getStreamType()
### getTrackId() [#gettrackid]
int io.agora.rtc.VideoTrackInfo.getTrackId()
### setChannelId() [#setchannelid]
void io.agora.rtc.VideoTrackInfo.setChannelId(java.lang.String *channelId*)
### setCodecType() [#setcodectype]
void io.agora.rtc.VideoTrackInfo.setCodecType(int *codecType*)
### setEncodedFrameOnly() [#setencodedframeonly]
void io.agora.rtc.VideoTrackInfo.setEncodedFrameOnly(int *encodedFrameOnly*)
### setIsLocal() [#setislocal]
void io.agora.rtc.VideoTrackInfo.setIsLocal(int *isLocal*)
### setObservationPosition() [#setobservationposition]
void io.agora.rtc.VideoTrackInfo.setObservationPosition(int *observationPosition*)
### setOwnerUid() [#setowneruid]
void io.agora.rtc.VideoTrackInfo.setOwnerUid(int *ownerUid*)
### setSourceType() [#setsourcetype]
void io.agora.rtc.VideoTrackInfo.setSourceType(int *sourceType*)
### setStreamType() [#setstreamtype]
void io.agora.rtc.VideoTrackInfo.setStreamType(int *streamType*)
### setTrackId() [#settrackid]
void io.agora.rtc.VideoTrackInfo.setTrackId(int *trackId*)
## 类成员变量说明 [#类成员变量说明]
### channelId [#channelid]
java.lang.String io.agora.rtc.VideoTrackInfo.channelId
### codecType [#codectype]
int io.agora.rtc.VideoTrackInfo.codecType
### encodedFrameOnly [#encodedframeonly]
int io.agora.rtc.VideoTrackInfo.encodedFrameOnly
### isLocal [#islocal]
int io.agora.rtc.VideoTrackInfo.isLocal
### observationPosition [#observationposition]
int io.agora.rtc.VideoTrackInfo.observationPosition
### ownerUid [#owneruid]
int io.agora.rtc.VideoTrackInfo.ownerUid
### sourceType [#sourcetype]
int io.agora.rtc.VideoTrackInfo.sourceType
### streamType [#streamtype]
int io.agora.rtc.VideoTrackInfo.streamType
### trackId [#trackid]
int io.agora.rtc.VideoTrackInfo.trackId
---
该类的文档由以下文件生成:
- VideoTrackInfo.java