Skip to content

Robot API_chn

lcgao edited this page May 13, 2021 · 10 revisions

静态方法

返回值 方法
Robot getInstance()

公共成员方法

返回值 方法
void askQuestion(String question)
void beWith()
void cancelAllTtsRequests()
int checkSelfPermission(Permission permission)
void constraintBeWith()
boolean deleteLocation(String location)
void finishConversation()
UserInfo getAdminInfo()
List<UserInfo> getAllContact()
List<SequenceModel> getAllSequences()
Battery getBatteryData()
SpeedLevel getGoToSpeed()
InputStream getInputStreamByMediaKey(ContentType contentType, String mediaKey)
String getLauncherVersion()
List<String> getLocations()
MapData getMapData()
SafetyLevel getNavigationSafety()
boolean getPrivacyMode()
List<RecentCallModel> getRecentCalls()
String getRoboxVersion()
String getSerialNumber()
int getVolume()
String getWakeupWord()
void hideTopBar()
boolean isAutoReturnOn()
boolean isDetectionModeOn()
boolean isHardButtonsDisabled()
boolean isNavigationBillboardDisabled()
boolean isReady()
boolean isSelectedKioskApp()
boolean isTopBadgeEnabled()
boolean isWakeupDisabled()
void playSequence(String sequenceId)
void repose()
void requestPermissions(List<Permission> permissions, int requestCode)
void requestToBeKioskApp()
void restart()
void saveLocation(String location)
void setAutoReturn(boolean on)
void setDetectionModeOn(boolean on)
void setDetectionModeOn(boolean on, float distance)
void setGoToSpeed(SpeedLevel level)
void setHardButtonsDisabled(boolean disabled)
void setNavigationSafety(SafetyLevel level)
void setPrivacyMode(boolean on)
void setTopBadgeEnabled(boolean enabled)
void setVolume(int volume)
void showAppList()
void showTopBar()
void skidJoy(float x, float y)
void speak(TtsRequest ttsRequest)
void startDefaultNlu(String text)
void startFaceRecognition()
void startTelepresence(String displayName, String peerId, Platform platform)
void stopFaceRecognition()
void stopMovement()
void tiltAngle(int degrees)
void tiltBy(int degrees)
void toggleNavigationBillboard(boolean disabled)
void toggleWakeup(boolean disabled)
void turnBy(int degrees)
void wakeup()
Clone this wiki locally