HMSRoom class
100ms HMSRoom
To use,import package import package:hmssdk_flutter/model/hms_room
.
HMSRoom building block around which whole system is made contains all stuff related to room.
This library depends only on core Dart libraries and the hms_peer.dart
library.
A room
is the basic object that 100ms SDKs return on successful connection. This contains references to peers, tracks and everything you need to render a live a/v app.
Constructors
-
HMSRoom({required String id, String? name, required List<
HMSPeer> ? peers, required bool isLarge, String? metaData, HMSServerRecordingState? hmsServerRecordingState, HMSRtmpStreamingState? hmsRtmpStreamingState, HMSBrowserRecordingState? hmsBrowserRecordingState, HMSHLSStreamingState? hmshlsStreamingState, HMSHLSRecordingState? hmshlsRecordingState, int peerCount = 0, int startedAt = 0, required String sessionId}) - HMSRoom.fromMap(Map map)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hmsBrowserRecordingState ↔ HMSBrowserRecordingState?
-
getter/setter pair
- hmshlsRecordingState ↔ HMSHLSRecordingState?
-
getter/setter pair
- hmshlsStreamingState ↔ HMSHLSStreamingState?
-
getter/setter pair
- hmsRtmpStreamingState ↔ HMSRtmpStreamingState?
-
getter/setter pair
- hmsServerRecordingState ↔ HMSServerRecordingState?
-
getter/setter pair
- id ↔ String
-
id of the room
getter/setter pair
- isLarge ↔ bool
-
getter/setter pair
- metaData ↔ String?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- peerCount ↔ int
-
getter/setter pair
-
peers
→ List<
HMSPeer> ? -
peers list which are in the room.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId ↔ String
-
getter/setter pair
- startedAt ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited