ConnectedDevicesNotificationRegistrationManager クラス
- java.
lang. Object - NativeBase
- com.
microsoft. connecteddevices. ConnectedDevicesNotificationRegistrationManager
- com.
public class ConnectedDevicesNotificationRegistrationManager
各アカウントの ConnectedDevicesPlatform に対するプッシュ通知の登録を管理します。
メソッドの概要
修飾子と型 | メソッドと説明 |
---|---|
Connected |
getNotificationRegistrationStateForAccount( @NonNull ConnectedDevicesAccount account)
特定のアカウントのクラウド登録の状態を取得します。 |
Event<Connected |
notificationRegistrationStateChanged()
特定のアカウントの登録状態が変更されたときのイベント。 (**IN_PROGRESS** から **SUCCEEDED** など)。 |
Async |
registerAsync( @NonNull ConnectedDevicesAccount account, @NonNull ConnectedDevicesNotificationRegistration notificationRegistration)
このユーザーが通知を受信できるように、このユーザーに対してこのアプリケーションをプッシュ通知サービスに登録します。 |
Async |
registerForAccountAsync( @NonNull ConnectedDevicesAccount account, @NonNull ConnectedDevicesNotificationRegistration notificationRegistration)
このユーザーが通知を受信できるように、このユーザーに対してこのアプリケーションをプッシュ通知サービスに登録します。 |
メソッドの詳細
getNotificationRegistrationStateForAccount
public ConnectedDevicesNotificationRegistrationState getNotificationRegistrationStateForAccount( @NonNull ConnectedDevicesAccount account)
特定のアカウントのクラウド登録の状態を取得します。
パラメーター:
戻り値:
notificationRegistrationStateChanged
public Event
特定のアカウントの登録状態が変更されたときのイベント。 (**IN_PROGRESS** から **SUCCEEDED** など)。
戻り値:
registerAsync
public AsyncOperation
このユーザーが通知を受信できるように、このユーザーに対してこのアプリケーションをプッシュ通知サービスに登録します。
パラメーター:
戻り値:
registerForAccountAsync
public AsyncOperation
このユーザーが通知を受信できるように、このユーザーに対してこのアプリケーションをプッシュ通知サービスに登録します。
パラメーター:
戻り値: