// perform the 2nd stage setup that requires YoctoAPI object protected void init(YProximity hwd) { if (hwd == null) { return; } base.init(hwd); InternalStuff.log("registering Proximity callback"); _func.registerValueCallback(valueChangeCallback); }
// perform the 2nd stage setup that requires YoctoAPI object protected void init(YProximity hwd) { if (hwd == null) { return; } base.init(hwd); InternalStuff.log("registering Proximity callback"); _func.registerValueCallback(valueChangeCallback); }