HMSPeer constructor
HMSPeer({
- required String peerId,
- required String name,
- required bool isLocal,
- required HMSRole role,
- required bool isHandRaised,
- String? customerUserId,
- String? metadata,
- HMSAudioTrack? audioTrack,
- HMSVideoTrack? videoTrack,
- List<
HMSTrack> ? auxiliaryTracks, - HMSNetworkQuality? networkQuality,
- DateTime? joinedAt,
- DateTime? updatedAt,
- HMSPeerType type = HMSPeerType.regular,
Implementation
HMSPeer(
{required this.peerId,
required this.name,
required this.isLocal,
required this.role,
required this.isHandRaised,
this.customerUserId,
this.metadata,
this.audioTrack,
this.videoTrack,
this.auxiliaryTracks,
this.networkQuality,
this.joinedAt,
this.updatedAt,
this.type = HMSPeerType.regular});