MethodChannelNexoraSdk class
The concrete MethodChannel + EventChannel implementation. Internal — wires Flutter channels to native Kotlin/Swift.
- Inheritance
-
- Object
- PlatformInterface
- NexoraSdkPlatform
- MethodChannelNexoraSdk
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rawEventStream
→ Stream<
Map> -
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connectToDevice(
String deviceId) → Future< bool> -
override
-
disconnectDevice(
String deviceId) → Future< void> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getWifiInfo(
) → Future< WifiInfo?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermissions(
) → Future< bool> -
override
-
startBluetoothScan(
{Duration timeout = const Duration(seconds: 10)}) → Future< void> -
override
-
startCamera(
) → Future< void> -
override
-
startGps(
{int intervalMs = 1000, double distanceFilter = 1.0}) → Future< void> -
override
-
startSensors(
{int samplingRateHz = 60}) → Future< void> -
override
-
stopBluetoothScan(
) → Future< void> -
override
-
stopCamera(
) → Future< void> -
override
-
stopGps(
) → Future< void> -
override
-
stopSensors(
) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited