MethodChannelTemi class
An implementation of TemiPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- TemiPlatform
- MethodChannelTemi
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteLocation(
String name) → Future< bool> -
override
-
followMe(
) → Future< bool> -
override
-
getBatteryLevel(
) → Future< int> -
override
-
getLocations(
) → Future< List< String> > -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
getRobotInfo(
) → Future< Map< String, dynamic> > -
override
-
gotoLocation(
String location) → Future< bool> -
override
-
isPrivacyModeEnabled(
) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerFace(
String fileUri, String userId, String userName) → Future< bool> -
override
-
saveLocation(
String name) → Future< bool> -
override
-
setDetectionMode(
bool enabled) → Future< bool> -
override
-
setOnDetectionStateChangedListener(
dynamic callback(int state)) → void -
override
-
setOnGoToLocationStatusChangedListener(
dynamic callback(String location, String status, int descriptionId, String description)) → void -
override
-
setOnRobotReadyListener(
dynamic callback(bool isReady)) → void -
override
-
setOnTonFaceRecognizedListener(
dynamic callback(Map faceData)) → void -
override
-
setOnTtsStatusChangedListener(
dynamic callback(String id, String text, String status)) → void -
override
-
setOnUserInteractionListener(
dynamic callback(bool isInteracting)) → void -
override
-
setPrivacyMode(
bool enabled) → Future< bool> -
override
-
setTrackUser(
bool enabled) → Future< bool> -
override
-
skidJoy(
double x, double y, bool smart) → Future< bool> -
override
-
speak(
String text) → Future< bool> -
override
-
startDetectionListening(
) → Future< void> -
override
-
startFaceRecognition(
) → Future< bool> -
override
-
stopDetectionListening(
) → Future< void> -
override
-
stopFaceRecognition(
) → Future< bool> -
override
-
stopMovement(
) → Future< bool> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited