NexoraSdkWeb class
The Web implementation of the NexoraSdk platform.
- Inheritance
-
- Object
- PlatformInterface
- NexoraSdkPlatform
- NexoraSdkWeb
Constructors
Properties
-
bluetoothStream
→ Stream<
BleDevice> -
Stream filtered for bluetooth devices.
no setterinherited
-
cameraStream
→ Stream<
CameraFrame> -
Stream filtered for camera frames.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
locationStream
→ Stream<
LocationData> -
Stream filtered for GPS/Location data.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unifiedStream
→ Stream<
HardwareEvent> -
Stream of all hardware events.
no setteroverride
Methods
-
connectDevice(
String id) → Future< bool> -
Connects to a specific device.
override
-
getPlatformVersion(
) → Future< String?> -
Returns the current platform version.
override
-
getWifiInfo(
) → Future< WifiInfo?> -
Fetches current Wifi information.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermissions(
) → Future< bool> -
Requests all necessary permissions.
override
-
startBluetoothScan(
) → Future< bool> -
Starts scanning for Bluetooth devices.
override
-
startCamera(
{int width = 640, int height = 480}) → Future< bool> -
Starts the camera with specified resolution.
override
-
startLocation(
) → Future< bool> -
Starts location updates.
override
-
startSensor(
{int frequencyHz = 60}) → Future< bool> -
Starts sensor data stream.
override
-
stopBluetoothScan(
) → Future< bool> -
Stops scanning for Bluetooth devices.
override
-
stopCamera(
) → Future< bool> -
Stops the camera.
override
-
stopLocation(
) → Future< bool> -
Stops location updates.
override
-
stopSensor(
) → Future< bool> -
Stops sensor data stream.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
registerWith(
Registrar registrar) → void - Factory method to register the web implementation.