Constructs DoorbellWizard instance.
prepareForConnection(Map<String, void *> options);
Prepares for connection process. Options map should contain "cameraId" (of disconnected camera) for restoration process or "zoneId" for adding process.
Connects to wifi network of chosen Doorbell. For mode details about WifiNetwork class check NuboCamWizard page.
iOS specific: user should connect to Doorbell wifi network manually using Settings app. After returning to app he should call this method (without parameters).
Android specific: list of available wifi networks is returned by prepareForConnection callback. User should use one of returned object to pass as parameter of this function.
Refreshes list of WifiNetwork objects to which Doorbell can be connected.
connectCameraToNetwork(WifiNetwork wifiNetwork, String cameraName);
Connects Doorbell to provided wifi network with given camera name.
Cancels current operation. No callbacks will be triggered.
Android specific: Disconnects device from Doorbell's Wi-Fi access point.
@required onPreparedForConnection(WifiNetwork doorbellWifiNetworks);
Called when SDK is ready for Doorbell connection.
Android specific: returns list of available Doorbell wifi networks to connect. One of objects should be used with connectToCamera method.
Called when SDK established connection with Doorbell. Now user can retrieve list of wifi.
@optional onWifiListRefreshed(WifiNetwork networks);
Returns list of Wifi networks to which Doorbell can be connected.
@required onFinished(Long cameraId);
If everything went ok, will get called after the Doorbell has been added/restored.
@required onError(MobileSDKError error);
Will get called if there's an error in the process of adding/restoring Doorbell.