ConnectedDevicesNotificationRegistrationStatus Enum

  • java.lang.Object
    • java.lang.Enum<ConnectedDevicesNotificationRegistrationStatus>
      • com.microsoft.connecteddevices.ConnectedDevicesNotificationRegistrationStatus

public enum ConnectedDevicesNotificationRegistrationStatus

Contains the values that describe the notifcation registration operation status The error statuses indicate transient conditions where the app developer may want to retry registering.

Fields

ERROR_ACCOUNT_NOT_FOUND

The operation failed because the account is not found. This could occur if the account is removed while the operation was in progress.

ERROR_NO_NETWORK

The operation failed because there was no network.

ERROR_NO_TOKEN_REQUEST_SUBSCRIBER

The operation failed since the app didn't subscribe to the AccessTokenRequested event.

ERROR_TOKEN_REQUEST_FAILED

The operation failed since the app failed to return a token when requested.

ERROR_UNKNOWN

The operation failed for unknown reasons.

ERROR_WEB_FAILURE

The operation failed due to a web service failure.

SUCCESS

The notification information was successfully registered.

Methods

fromInt(int value)

public static ConnectedDevicesNotificationRegistrationStatus fromInt(int value)

Parameters

value
int

Returns

getValue()

public int getValue()

Returns

int

Applies to