ConnectedDevicesPlatform Class
Definition
A class to represent the Connected Devices Platform and manage the app's connection to it.
public class ConnectedDevicesPlatform
- Inheritance
-
java.lang.ObjectNativeBaseConnectedDevicesPlatform
Constructors
| ConnectedDevicesPlatform(@NonNull Context context) |
Creates and initializes a new instance of this class. |
| ConnectedDevicesPlatform(@NonNull Context context, @NonNull ConnectedDevicesPlatformSettings settings) |
Creates and initializes a new instance of this class. |
Methods
| getAccountManager() |
Get ConnectedDevicesAccountManager instance held by the platform |
| getNotificationRegistrationManager() |
Get ConnectedDevicesNotificationRegistrationManager instance held by platform |
| processNotification(@NonNull Bundle bundle) |
Process incoming GCM notification |
| processNotification(@NonNull Map map) |
Process incoming FCM notification |
| processNotificationAsync(@NonNull ConnectedDevicesNotification notification) |
Process incoming notification. If the notification is not for the ConnectedDevicesPlatform, the returned AsyncOperation will be completed in an asynchronous fashion as soon as possible. |
| shutdownAsync() |
Shuts down the Connected Devices Platform. |
| start() |
Start the platform |