HMSRemotePeer

class HMSRemotePeer : HMSPeer

Functions

getAllTracks
Link copied to clipboard
fun getAllTracks(): Array<HMSTrack>
getTrackById
Link copied to clipboard
fun getTrackById(trackId: String): HMSTrack?
toString
Link copied to clipboard
open override fun toString(): String

Properties

audioTrack
Link copied to clipboard
open override var audioTrack: HMSRemoteAudioTrack? = null
This contains the audio track of this peer
auxiliaryTracks
Link copied to clipboard
var auxiliaryTracks: MutableList<HMSTrack>
Any other tracks like screen share track or plugins are mentioned here
customerUserID
Link copied to clipboard
val customerUserID: String
The CustomerUserID of this peer which is given the app
hmsRole
Link copied to clipboard
var hmsRole: HMSRole
isLocal
Link copied to clipboard
val isLocal: Boolean
Specifies if this peer is a HMSLocalPeer or a HMSRemotePeer True if local, otherwise false
metadata
Link copied to clipboard
var metadata: String
name
Link copied to clipboard
var name: String
peerID
Link copied to clipboard
val peerID: String
The peerID of this peer which is generated by the SDK
videoTrack
Link copied to clipboard
open override var videoTrack: HMSRemoteVideoTrack? = null
This contains the video track of this peer