isDeviceRegistered property
bool
get
isDeviceRegistered
Check if device is registered
Implementation
bool get isDeviceRegistered {
try {
final lib = PlatformLoader.loadCommons();
final isReg = lib.lookupFunction<Int32 Function(), int Function()>(
'rac_state_is_device_registered');
return isReg() != 0;
} catch (e) {
return false;
}
}