1
2
3
4
5
6
await TerraFlutterRt.init(devId, "reference_id");
await TerraFlutterRt.initConnection(sdktoken);
await TerraFlutterRt.startBluetoothScan(
.BLE,
useCache: true
);
1
2
3
4
5
6
await TerraFlutterRt.init(devId, "reference_id");
await TerraFlutterRt.initConnection(sdktoken);
await TerraFlutterRt.startBluetoothScan(
.BLE,
useCache: true
);
1
2
3
4
5
6
7
8
void dataCallback(Update data) {
print(data);
}
await TerraFlutterRt.startRealtimeToApp(
Connection.apple,
[DataType.gyroscope,
DataType.steps], dataCallback
);
1
2
3
4
5
6
7
8
void dataCallback(Update data) {
print(data);
}
await TerraFlutterRt.startRealtimeToApp(
Connection.apple,
[DataType.gyroscope,
DataType.steps], dataCallback
);
1
2
3
4
5
await TerraFlutterRt.startRealtimeToServer(
Connection.android,
[DataType.heartRate],
websockettoken
);
1
2
3
4
5
await TerraFlutterRt.startRealtimeToServer(
Connection.android,
[DataType.heartRate],
websockettoken
);
Cookie Preferences