- Print
- DarkLight
For the most part, development of applications intended to be used on the M400C can be accomplished by following standard Android development methodologies and by leveraging existing Android APIs. The APIs listed below are some of the prominent features of Android for which default APIs should be leveraged:
Camera – The USB-C Viewer camera acts as a standard UVC camera, and can be accessed using standard UVC camera APIs.
Button input – The buttons are delivered to your application as Android Key Events.
Touchpad input – The touchpad interaction is delivered to your application as Android Motion Events.
Orientation Sensor – The SDK provides access to the proprietary data format of the USB-C Viewer orientation sensor in a similar manner to Android Sensor Events.
Flashlight – The SDK provides the ability to turn the flashlight on the USB-C viewer on and off.
Camera – The USB-C Viewer camera acts as a standard UVC camera, and can be accessed using standard UVC camera APIs.