HMSPrebuiltOptions class
HMSPrebuiltOptions is a class that is used to pass the options to the prebuilt It takes following parameters: userName - The name of the user userId - The id of the user endPoints - The token and init endpoints debugInfo - To enable the debug mode for the prebuilt iOSScreenshareConfig - Screen share Config, to enable screen share for iOS enableNoiseCancellation - To enable noise cancellation in prebuilt
Constructors
-
HMSPrebuiltOptions({String? userName, String? userId, Map<
String, String> ? endPoints, bool debugInfo = false, bool enableNoiseCancellation = false}) - HMSPrebuiltOptions is a class that is used to pass the options to the prebuilt
Properties
- debugInfo → bool
-
final
- enableNoiseCancellation → bool
-
To enable noise cancellation in prebuilt.
Default value is true
final
-
endPoints
→ Map<
String, String> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String?
-
final
- userName → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited