MethodChannelBridgefy class

An implementation of BridgefyPlatform that uses method channels.

Inheritance

Constructors

MethodChannelBridgefy()

Properties

connectedPeers Future<List<String>>
no setteroverride
currentUserID Future<String>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isInitialized Future<bool>
no setteroverride
isStarted Future<bool>
no setteroverride
licenseExpirationDate Future<DateTime?>
no setteroverride
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delegateCallHandler(MethodCall call) Future
destroySession() Future<void>
override
establishSecureConnection({required String userID}) Future<void>
override
initialize({required String apiKey, required BridgefyDelegate delegate, bool verboseLogging = false}) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send({required Uint8List data, required BridgefyTransmissionMode transmissionMode}) Future<String>
override
start({String? userId, BridgefyPropagationProfile propagationProfile = BridgefyPropagationProfile.standard}) Future<void>
override
stop() Future<void>
override
toString() String
A string representation of this object.
inherited
updateLicense() Future<void>
override

Operators

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