FlutterP2pConnectionPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterP2pConnectionPlatform
Implementers

Constructors

FlutterP2pConnectionPlatform()
Constructs a FlutterP2pConnectionPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Properties

instance FlutterP2pConnectionPlatform
The default instance of FlutterP2pConnectionPlatform to use.
getter/setter pair