/lib/live.hms.video.sdk.models/HMSLocalPeer
HMSLocalPeer
[androidJvm]\ class HMSLocalPeer : HMSPeer
Functions
| Name | Summary |
|---|---|
| getAllTracks | [androidJvm] fun getAllTracks(): Array<HMSTrack> |
| getTrackById | [androidJvm] fun getTrackById(trackId: String): HMSTrack? |
| toString | [androidJvm] open override fun toString(): String |
Properties
| Name | Summary |
|---|---|
| audioTrack | [androidJvm] open override var audioTrack: HMSLocalAudioTrack? = null This contains the audio track of this peer |
| auxiliaryTracks | [androidJvm] var auxiliaryTracks: MutableList<HMSTrack> Any other tracks like screen share track or plugins are mentioned here |
| customerDescription | [androidJvm] val customerDescription: String Specifies the customer description, if any, provided by the app |
| customerUserID | [androidJvm] val customerUserID: String The CustomerUserID of this peer which is given the app |
| hmsRole | [androidJvm] var hmsRole: HMSRole |
| isLocal | [androidJvm] val isLocal: Boolean Specifies if this peer is a HMSLocalPeer or a HMSRemotePeer True if local, otherwise false |
| name | [androidJvm] val name: String The name of this peer which is given by the app |
| peerID | [androidJvm] val peerID: String The peerID of this peer which is generated by the SDK |
| videoTrack | [androidJvm] open override var videoTrack: HMSLocalVideoTrack? = null This contains the video track of this peer |