Robot class
Constructors
Robot ({BinaryMessenger ? binaryMessenger , String messageChannelSuffix = '' })
Constructor for Robot . The binaryMessenger named argument is
available for dependency injection. If it is left null, the default
BinaryMessenger will be used which routes to the host platform.
Methods
askQuestion (TtsRequest question , [SttRequest ? sttRequest ])
→ Future <void >
beWithMe ([SpeedLevel ? speed ])
→ Future <void >
cancelAllTtsRequests ()
→ Future <void >
constraintBeWith ()
→ Future <void >
createLinkBasedMeeting (LinkBasedMeeting linkBasedMeeting )
→ Future <TLinkBasedMeeting >
deleteLocation (String name )
→ Future <bool >
enabledLatinKeyboards (List <String > keyboards )
→ Future <void >
enableStandBy (bool enabled , [String password = "" ])
→ Future <int >
finishConversation ()
→ Future <void >
getAdminInfo ()
→ Future <UserInfo ? >
getAllContact ()
→ Future <List <UserInfo > >
getAutoReturnOn ()
→ Future <bool >
getBackTOFEnabled ()
→ Future <bool >
getBatteryData ()
→ Future <BatteryData ? >
getButtonStatus (HardButton type )
→ Future <HardButtonStatus >
getCliffSensorMode ()
→ Future <CliffSensorMode >
getDetectionModeOn ()
→ Future <bool >
getFollowSpeed ()
→ Future <SpeedLevel >
getFrontTOFEnabled ()
→ Future <bool >
getGoToSpeed ()
→ Future <SpeedLevel >
getGroundDepthCliffDetectionEnabled ()
→ Future <bool >
getHardButtonMode (HardButton type )
→ Future <HardButtonMode >
getHasCliffSensor ()
→ Future <bool >
getHeadDepthSensitivity ()
→ Future <SensitivityLevel >
getIsHardButtonsDisabled ()
→ Future <bool >
getLauncherVersion ()
→ Future <String >
getLocations ()
→ Future <List <String > >
getLocked ()
→ Future <bool >
getMinimumObstacleDistance ()
→ Future <int >
getNavigationSafety ()
→ Future <SafetyLevel >
getNickName ()
→ Future <String >
getPosition ()
→ Future <Position >
getPrivacyMode ()
→ Future <bool >
getRecentCalls ()
→ Future <List <RecentCallModel > >
getRoboxVersion ()
→ Future <String >
getSerialNumber ()
→ Future <String ? >
getSupportedLatinKeyboards ()
→ Future <Map <String , bool > >
getTopBadgeEnabled ()
→ Future <bool >
getTrackUserOn ()
→ Future <bool >
getTtsVoice ()
→ Future <TtsVoice >
getVolume ()
→ Future <int >
getWakeupWord ()
→ Future <String >
goTo (String location , {bool ? backwards , bool ? noBypass , SpeedLevel ? speedLevel , bool ? highAccuracyArrival , bool ? noRotationAtEnd })
→ Future <void >
goToPosition (Position position , [bool ? backwards , bool ? noBypass , SpeedLevel ? speedLevel , bool ? highAccuracyArrival ])
→ Future <void >
hideTopBar ()
→ Future <void >
isStandbyOn ()
→ Future <bool ? >
muteAlexa ()
→ Future <void >
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patrol (List <String > locations , int times , [bool nonstop = false , int waiting = 3 ])
→ Future <bool >
removeAlertNotification (AlertNotification notification )
→ Future <void >
repose ([Position ? position ])
→ Future <void >
restart ()
→ Future <void >
saveLocation (String name )
→ Future <bool >
setAsrLanguages ([List <Language > languages = const [] ])
→ Future <int >
setAutoReturonOn (bool on )
→ Future <void >
setBackTOFEnabled (bool enabled )
→ Future <void >
setCliffSensorMode (CliffSensorMode mode )
→ Future <void >
setDetectionModeOn (bool on , [double ? distance ])
→ Future <void >
setFollowSpeed (SpeedLevel speed )
→ Future <int >
setFrontTOFEnabled (bool enabled )
→ Future <void >
setGoToSpeed (SpeedLevel speed )
→ Future <void >
setGroundDepthCliffDetectionEnabled (bool enabled )
→ Future <void >
setHardButtonMode (HardButton type , HardButtonMode mode )
→ Future <void >
setHeadDepthSensitivity (SensitivityLevel sensitivityLevel )
→ Future <void >
setIsHardButtonsDisabled (bool isDisabled )
→ Future <void >
setLocked (bool lock )
→ Future <void >
setMicGainLevel (int micGainLevel )
→ Future <int >
setMinimumObstacleDistance (int value )
→ Future <void >
setMode (Mode mode )
→ Future <void >
setNavigationSafety (SafetyLevel safety )
→ Future <void >
setPrivacyMode (bool on )
→ Future <void >
setSoundMode (SoundMode soundMode )
→ Future <void >
setTopBadgeEnabled (bool enable )
→ Future <void >
setTrackUserOn (bool on )
→ Future <void >
setTtsVoice (TtsVoice ttsVoice )
→ Future <bool >
setVolume (int volume )
→ Future <void >
showAlertNotification (AlertNotification notification )
→ Future <void >
showAppList ()
→ Future <void >
showNormalNotification (NormalNotification notification )
→ Future <void >
showTopBar ()
→ Future <void >
shutdown ()
→ Future <void >
skidJoy (double x , double y , [bool smart = false ])
→ Future <void >
speak (String speech , {bool isShowOnConversationLayer = true , Language language = Language.system , bool showAnimationOnly = false , bool cached = false })
→ Future <void >
startDefaultNlu (String text , [Language language = Language.system ])
→ Future <void >
startMeeting (List <Participant > participants , bool firstParticipantJoinedAsHost , [bool blockRobotInteraction = false ])
→ Future <String >
startPage (Page page )
→ Future <void >
startStandBy ()
→ Future <int >
stopMovement ()
→ Future <void >
stopStandBy ([String password = "" ])
→ Future <int >
stopTelepresence ()
→ Future <int >
tiltAngle (int deg , [double speed = 1 ])
→ Future <void >
tiltBy (int deg , [double speed = 1 ])
→ Future <void >
toString ()
→ String
A string representation of this object.
inherited
turnBy (int deg , [double speed = 1 ])
→ Future <void >
wakeup (bool wakeupResponse , [List <Language > languages = const [] ])
→ Future <void >