_api.app – application functions API

This module contains the API functions for user interaction with the controlling application (i.e. computer or phone).

This module is imported by the mindstorms – Mindstorms branding of the user API and spike – Spike Prime branding of the user API modules so that the API can be branded appropriately in documentation (i.e. so that Mindstorms docs can tell you to import mindstorms, and Spike Prime docs can tell you to import spike).

Constants

_api.app._NOT_CONNECTED_ERROR = The programming app is not connected to the hub.

Error text for when the app and the hub have become disconnected.

App Class

class _api.app.App(???)

???

Methods

play_sound(???)

???

_play_sound(???)

???

start_sound(???)

???

Imports