ConnectedDevicesNotificationRegistrationStateChangedEventArgs 类
- java.
lang. Object - NativeBase
- com.
microsoft. connecteddevices. ConnectedDevicesNotificationRegistrationStateChangedEventArgs
- com.
public class ConnectedDevicesNotificationRegistrationStateChangedEventArgs
RemoteSystemAppRegistration State Changed 事件的事件 Args 类。 这用作 ConnectedDevicesPlatform 的一部分,以确保应用程序通过正确的通知机制通知新的 ConnectedDevices 消息。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Connected |
getAccount()
获取通知注册状态已更改的帐户。 |
Connected |
getRegistration()
获取其状态已更改的注册实例的信息。 |
Connected |
getState()
检索新的注册状态 |
方法详细信息
getAccount
getRegistration
public ConnectedDevicesNotificationRegistration getRegistration()
获取其状态已更改的注册实例的信息。
返回:
getState
public ConnectedDevicesNotificationRegistrationState getState()
检索新的注册状态
返回:
表示用户帐户注册的新状态的 ConnectedDevicesNotificationRegistrationState。