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