22. High-level API Reference
www.yoctopuce.com
369
YAnButton
anbutton
→
set_userData()
anbutton
→
setUserData()
Stores a user context provided as argument in the userData attribute of the function.
js
function set_userData(
data
)
cpp
void set_userData( void*
data
)
m
-(void) setUserData : (id)
data
pas
procedure set_userData(
data
: Tobject)
vb
procedure set_userData( ByVal
data
As Object)
cs
void set_userData( object
data
)
java
void set_userData( Object
data
)
py
def set_userData(
data
)
php
function set_userData(
$data
)
es
function set_userData(
data
)
This attribute is never touched by the API, and is at disposal of the caller to store a context.
Parameters :
data
any kind of object to be stored
Содержание 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...