/lib/live.hms.video.sdk.models/HMSPeer

HMSPeer

[androidJvm]\ abstract class HMSPeer

HMSPeer is the object returned by 100ms SDKs that contains all information about a user

Functions

NameSummary
getAllTracks[androidJvm]
fun getAllTracks(): Array<HMSTrack>
getTrackById[androidJvm]
fun getTrackById(trackId: String): HMSTrack?
toString[androidJvm]
open override fun toString(): String

Properties

NameSummary
audioTrack[androidJvm]
abstract val audioTrack: HMSAudioTrack?
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]
abstract val videoTrack: HMSVideoTrack?
This contains the video track of this peer

Inheritors