ConnectionOptions class

Constructors

ConnectionOptions({required String host, required int port, required String name, SecurityContext? context, String? password, bool opus = true, List<String> tokens = const <String>[], List<int> celtVersions = const <int>[], Duration? incomingAudioStreamTimeout = const Duration(milliseconds: 500), Duration pingTimeout = const Duration(seconds: 30)})
Configures ConnectionOptions.

Properties

celtVersions List<int>
The supported celt versions.
final
context SecurityContext?
The connections security context containing this users certificate (see the constructor).
final
hashCode int
The hash code for this object.
no setterinherited
host String
The Mumble server.
final
incomingAudioStreamTimeout Duration?
See AudioClient.incomingAudioStreamTimeout.
final
name String
The users name.
final
opus bool
True if this client supports opus.
final
password String?
A password, if this user is the superuser.
final
pingTimeout Duration
If a ping message from this client to the mubmle server is not answered within this duration, the connection to the mumble server is considered dead.
final
port int
The port of the Mumble server.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokens List<String>
The channel access tokens know on connect.
final

Methods

jsonMap() Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString({bool tabIndent = true}) String
A string representation of this object.
inherited

Operators

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