setRegistration abstract method

Future<void> setRegistration(
  1. bool registration
)

By default, when the SDK starts it will register the device to your account and share its connectivity state. This provides the dashboard with a list of devices which are online and ready to connect.

If you don't need to see a list of devices in your dashboard, then you can stop the SDK from registering the device and its status by passing the registration option with a value of false.

Implementation

Future<void> setRegistration(bool registration);