22. High-level API Reference
140
www.yoctopuce.com
YAPI
YAPI.EnableUSBHost()
yEnableUSBHost()
This function is used only on Android.
java
void EnableUSBHost( Object
osContext
)
Before calling
yRegisterHub("usb")
you need to activate the USB host port of the system. This
function takes as argument, an object of class android.content.Context (or any subclass). It is not
necessary to call this function to reach modules through the network.
Parameters :
osContext
an object of class android.content.Context (or any subclass).
Содержание Yocto-Display
Страница 1: ...Yocto Display User Manual...
Страница 2: ......
Страница 40: ...34 www yoctopuce com...
Страница 52: ...46 www yoctopuce com...
Страница 84: ...78 www yoctopuce com...
Страница 92: ...86 www yoctopuce com...
Страница 130: ...124 www yoctopuce com...
Страница 158: ...22 High level API Reference 152 www yoctopuce com On failure throws an exception or returns a negative error code...
Страница 422: ...416 www yoctopuce com...
Страница 424: ...24 Characteristics 418 www yoctopuce com...