HMSLocalPeer class Null safety
HMSLocalPeer instance of the localPeer means your instance in the room.
Constructors
-
HMSLocalPeer({required String peerId, required String name, required bool isLocal, HMSRole? role, String? customerUserId, String? customerDescription, HMSAudioTrack? audioTrack, HMSVideoTrack? videoTrack, List<
HMSTrack> ? auxiliaryTracks}) - HMSLocalPeer.fromMap(Map map)
-
factory
Properties
- audioTrack → HMSAudioTrack?
-
final, inherited
-
auxiliaryTracks
→ List<
HMSTrack> ? -
final, inherited
- customerDescription → String?
-
final, inherited
- customerUserId → String?
-
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isLocal → bool
-
returns whether peer is local or not.
final, inherited
- name → String
-
name of the peer in the room.
final, inherited
- peerId → String
-
id of the peer
final, inherited
- role → HMSRole?
-
role of the peer in the room.
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- videoTrack → HMSVideoTrack?
-
final, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
important to compare using peerId
inherited