NearbyServicePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • NearbyServicePlatform
Implementers

Constructors

NearbyServicePlatform()

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

disconnect(NearbyDevice device) Future<bool>
getConnectedDeviceStream(NearbyDevice device) Stream<NearbyDevice?>
getConnectedDeviceStreamById(String deviceId) Stream<NearbyDevice?>
getCurrentDeviceInfo() Future<NearbyDeviceInfo?>
getPeers() Future<List<NearbyDevice>>
getPeersStream() Stream<List<NearbyDevice>>
getPlatformModel() Future<String?>
getPlatformVersion() Future<String?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openServicesSettings() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

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