MCDConnectedDevicesNotificationRegistration

@interface MCDConnectedDevicesNotificationRegistration : NSObject

此类表示应用向推送通知服务的注册, (某些 Project Rome 方案) 所必需的。 它将此信息传达给连接的设备平台。

属性

type

@property(nonatomic, readwrite) MCDConnectedDevicesNotificationType type;

此设置中的通知类型。

令牌

@property(nonatomic, readwrite, nonnull) NSString* token;

注册令牌。

appId

@property(nonatomic, readwrite, nonnull) NSString* appId;

推送通知注册的应用 ID。

appDisplayName

@property(nonatomic, readwrite, nonnull) NSString* appDisplayName;

应用显示名称。 这应该是用于在 Microsoft 开发门户上注册的应用的名称。