Constructs NuboCamWizard 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 NuboCam.
iOS specific: user should connect to NuboCam 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.
Returns list of Carriers to which NuboCam can be connected. Array will be empty if mobile setup option is not available.
Refreshes list of WifiNetwork objects to which NuboCam can be connected.
connectCameraToNetwork(NetworkInterface network, String cameraName);
Connects NuboCam to provided network with given camera name (both WifiNetwork and AccessPointName are inherited from NetworkInterface).
Cancels current operation. No callbacks will be triggered.
Android specific: Disconnects device from NuboCam Wi-Fi access point.
@required onPreparedForConnection(WifiNetwork nuboCamWifiNetworks);
Called when SDK is ready for NuboCam connection.
Android specific: returns list of available NuboCam wifi networks to connect. One of objects should be used with connectToCamera method.
@required onConnectedToCamera(MobileSetupOption option);
Called when SDK established connection with NuboCam. Now user can retrieve list of wifi. Option enumeration determines available mobile setup options.
@optional onWifiListRefreshed(WifiNetwork networks);
Returns list of Wifi networks to which NuboCam can be connected.
Will be called if NuboCam will try to connect to cloud with previously setup sim. Expect onFinished or onError callback after this one.
@required onFinished(Long cameraId);
If everything went ok, will get called after the NuboCam has been added/restored.
@required onError(MobileSDKError error);
Will get called if there's an error in the process of adding/restoring NuboCam.
Empty abstraction which represents some network interface.
Returns SSID of wifi network.
Returns encryption of wifi network.
Returns strength of wifi network in range (0..100].
Password of wifi network.
AccessPointName(String name, String username, String password);
Constructs AccessPointName instance.
Returns name of access point name.
Returns username of access point name.
Returns password of access point name.
Returns name of carrier.
Returns MCC of carrier.
Returns MNC of carrier.
Returns country ISO of carrier.
Returns list of APNs of carrier.