22. High-level API Reference
www.yoctopuce.com
149
YAPI
YAPI.RegisterDeviceArrivalCallback()
yRegisterDeviceArrivalCallback()
Register a callback function, to be called each time a device is plugged.
js
function yRegisterDeviceArrivalCallback(
arrivalCallback
)
cpp
void yRegisterDeviceArrivalCallback( yDeviceUpdateCallback
arrivalCallback
)
m
+(void) RegisterDeviceArrivalCallback :(yDeviceUpdateCallback)
arrivalCallback
pas
procedure yRegisterDeviceArrivalCallback(
arrivalCallback
: yDeviceUpdateFunc)
vb
procedure yRegisterDeviceArrivalCallback( ByVal
arrivalCallback
As yDeviceUpdateFunc)
cs
void RegisterDeviceArrivalCallback( yDeviceUpdateFunc
arrivalCallback
)
java
void RegisterDeviceArrivalCallback( DeviceArrivalCallback
arrivalCallback
)
uwp
void RegisterDeviceArrivalCallback( DeviceUpdateHandler
arrivalCallback
)
py
def RegisterDeviceArrivalCallback(
arrivalCallback
)
php
function yRegisterDeviceArrivalCallback(
$arrivalCallback
)
es
function RegisterDeviceArrivalCallback(
arrivalCallback
)
This callback will be invoked while
yUpdateDeviceList
is running. You will have to call this function
on a regular basis.
Parameters :
arrivalCallback
a procedure taking a
YModule
parameter, or
null
Summary of Contents for Yocto-Display
Page 1: ...Yocto Display User Manual...
Page 2: ......
Page 40: ...34 www yoctopuce com...
Page 52: ...46 www yoctopuce com...
Page 84: ...78 www yoctopuce com...
Page 92: ...86 www yoctopuce com...
Page 130: ...124 www yoctopuce com...
Page 422: ...416 www yoctopuce com...