HMSPeer constructor

HMSPeer({
  1. required String peerId,
  2. required String name,
  3. required bool isLocal,
  4. required HMSRole role,
  5. required bool isHandRaised,
  6. String? customerUserId,
  7. String? metadata,
  8. HMSAudioTrack? audioTrack,
  9. HMSVideoTrack? videoTrack,
  10. List<HMSTrack>? auxiliaryTracks,
  11. HMSNetworkQuality? networkQuality,
  12. DateTime? joinedAt,
  13. DateTime? updatedAt,
  14. 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});