Dance API¶
- class mini.apis.api_behavior.StartBehavior(is_serial: bool = True, name: Optional[str] = None)[source]¶
Bases:
mini.apis.base_api.BaseApi
Start dancing API
Control the robot to start dancing
- Parameters
is_serial (bool) – Whether to wait for a reply, the default is True
name (str) – expressive name, cannot be empty or None
#ControlBehaviorResponse.isSuccess: Is it successful, True or False
#ControlBehaviorResponse.resultCode: Result Code
- class mini.apis.api_behavior.StopBehavior(is_serial: bool = True)[source]¶
Bases:
mini.apis.base_api.BaseApi
Stop dancing api
Control the robot to stop dancing
- Parameters
is_serial (bool) – Whether to wait for a reply, the default is True
#ControlBehaviorResponse.isSuccess: Is it successful, True or False
#ControlBehaviorResponse.resultCode: Result code