You are here: Forum Home → ANT Developers Forums → ANT in Mobile Phones → Thread
protected final void onConnectionResultReceived(AntPluginPcc antPluginPcc,
RequestAccessResult resultCode, DeviceState initialDeviceState) {
L.d("onConnectionResultReceived: " + resultCode);
switch(resultCode) {
// Handle result
}
}
private final IPluginAccessResultReceiver<AntPlusBikePowerPcc> mPluginAccessResultReceiver =
new IPluginAccessResultReceiver<AntPlusBikePowerPcc>() {
@Override
public void onResultReceived(AntPlusBikePowerPcc antPlusBikePowerPcc,
RequestAccessResult resultCode, DeviceState initialDeviceState) {
onConnectionResultReceived(antPlusBikePowerPcc, resultCode, initialDeviceState);
}
};
blackramlabs.com
blackramlabs.com