SingleMasterChannelEndpointConfiguration class
An object that contains the endpoint configuration for the
SINGLE_MASTER
channel type.
Constructors
-
SingleMasterChannelEndpointConfiguration({List<
ChannelProtocol> ? protocols, ChannelRole? role})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
protocols
→ List<
ChannelProtocol> ? -
This property is used to determine the nature of communication over this
SINGLE_MASTER
signaling channel. IfWSS
is specified, this API returns a websocket endpoint. IfHTTPS
is specified, this API returns anHTTPS
endpoint.final - role → ChannelRole?
-
This property is used to determine messaging permissions in this
SINGLE_MASTER
signaling channel. IfMASTER
is specified, this API returns an endpoint that a client can use to receive offers from and send answers to any of the viewers on this signaling channel. IfVIEWER
is specified, this API returns an endpoint that a client can use only to send offers to anotherMASTER
client on this signaling channel.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited