ClientCapability enum

An optional feature a client advertises to its peers.

Distinct from clientProtocol, which is a monotonic baseline version: capabilities cover features a client may or may not support depending on its platform, and each is advertised independently. Wire values match livekit.ClientInfo.Capability.

Inheritance
Available extensions

Values

packetTrailer → const ClientCapability

The client understands packet trailers.

const ClientCapability(1)
compressionDeflateRaw → const ClientCapability

The client can decompress a deflate-raw compressed data stream.

const ClientCapability(2)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
wireValue → int
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
toWireName() → String
The name the server expects for this capability in the signal URL's capabilities param.

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromProto(ClientInfo_Capability value) → ClientCapability?

Constants

advertised → const List<ClientCapability>
The capabilities this SDK advertises.
values → const List<ClientCapability>
A constant List of the values in this enum, in order of their declaration.