![Yoctopuce Yocto-Display User Manual Download Page 261](http://html1.mh-extra.com/html/yoctopuce/yocto-display/yocto-display_user-manual_3418946261.webp)
22. High-level API Reference
www.yoctopuce.com
255
YDisplay
display
→
get_friendlyName()
display
→
friendlyName()
Returns a global identifier of the display in the format
MODULE_NAME.FUNCTION_NAME
.
js
function get_friendlyName( )
cpp
string get_friendlyName( )
m
-(NSString*) friendlyName
cs
string get_friendlyName( )
java
String get_friendlyName( )
py
def get_friendlyName( )
php
function get_friendlyName( )
es
function get_friendlyName( )
The returned string uses the logical names of the module and of the display if they are defined,
otherwise the serial number of the module and the hardware identifier of the display (for example:
MyCustomName.relay1
)
Returns :
a string that uniquely identifies the display using logical names (ex:
MyCustomName.relay1
)
On failure, throws an exception or returns
Y_FRIENDLYNAME_INVALID
.
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...