Advertiser class
Class that represent the Advertiser instance of NearbyCross plugin.
Constructors
- Advertiser()
-
Implements singleton pattern
factory
Properties
- connectionsManager ↔ ConnectionsManager
-
getter/setter pairinherited
- deviceInfo ↔ Uint8List
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAdvertising ↔ bool
-
getter/setter pair
- isConnected → bool
-
no setterinherited
- logger ↔ Logger
-
getter/setter pairinherited
- nearbyCross ↔ NearbyCross
-
getter/setter pairinherited
- platformVersion ↔ String?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
advertise(
String serviceId, {bool manualAcceptConnections = false, NearbyStrategies strategy = NearbyStrategies.star}) → Future< void> - Service to start advertising using NearbyCross plugin
-
connect(
String endpointId) → Future< void> -
inherited
-
disconnectFrom(
String endpointId) → Future< void> -
inherited
-
getPlatformVersion(
) → Future< String?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermissions(
) → Future< void> -
inherited
-
stopAdvertising(
) → Future< void> -
stopAllConnections(
) → Future< void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited