Yoctopuce Yocto-RS485-V2 Mode D'emploi page 307

Table des Matières

Publicité

module→registerBeaconCallback()
Enregistre une fonction de callback qui sera appelée à chaque changement d'état de la balise de
localisation du module.
function registerBeaconCallback( callback)
js
int registerBeaconCallback( YModuleBeaconCallback callback)
cpp
-(int) registerBeaconCallback : (YModuleBeaconCallback _Nullable)
m
LongInt registerBeaconCallback( callback: TYModuleBeaconCallback): LongInt
pas
function registerBeaconCallback( ByVal
vb
int registerBeaconCallback( BeaconCallback callback)
cs
int registerBeaconCallback( BeaconCallback callback)
java
async Task<int> registerBeaconCallback( BeaconCallback callback)
uwp
registerBeaconCallback( callback)
py
function registerBeaconCallback( $callback)
php
async registerBeaconCallback( callback: YModuleBeaconCallback | null): Promise<number>
ts
async registerBeaconCallback( callback)
es
La fonction de callback doit accepter deux arguments: l'objet YModule dont la balise a changé, et un
entier représentant l'état de la balise de localisation.
Paramètres :
callback
la fonction de callback à rappeler, ou
www.yoctopuce.com
callback
As YModuleBeaconCallback) As Integer
null
25. Référence de l'API de haut niveau
YModule
callback
299

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Yocto-rs232

Table des Matières