MethodChannelFlutterP2pConnection class

An implementation of FlutterP2pConnectionPlatform that uses method channels.

Inheritance

Properties

hashCode int
The hash code for this object.
no setterinherited
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

askLocationPermission() Future<bool?>
override
checkGpsEnabled() Future<bool?>
override
checkLocationEnabled() Future<String?>
override
checkLocationPermission() Future<bool?>
override
checkWifiEnabled() Future<bool?>
override
connect(String address) Future<bool?>
override
createGroup() Future<bool?>
override
disconnect() Future<bool?>
override
discover() Future<bool?>
override
enableLocationServices() Future<bool?>
override
enableWifiServices() Future<bool?>
override
fetchPeers() Future<List<String>?>
override
getPlatformModel() Future<String?>
override
getPlatformVersion() Future<String?>
override
groupInfo() Future<String?>
override
initialize() Future<bool?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() Future<bool?>
override
removeGroup() Future<bool?>
override
resume() Future<bool?>
override
stopDiscovery() Future<bool?>
override
toString() String
A string representation of this object.
inherited

Operators

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