iosNotificationSettings 资源类型

命名空间:microsoft.graph

注意:适用于 Intune 的 Microsoft Graph API 需要适用于租户的活动 Intune 许可证

说明通知设置的项。

属性

属性 类型 说明
bundleID String 要向其应用这些通知设置的应用的捆绑 ID。
appName String 要与 bundleID 关联的应用程序名称。
发布者 String 要与 bundleID 关联的发布者。
enabled 布尔值 指示是否允许此应用使用通知。
showInNotificationCenter 布尔值 指示是否可以在通知中心中显示通知。
showOnLockScreen 布尔值 指示是否可以在锁定屏幕上显示通知。
alertType iosNotificationAlertType 指示此应用的通知的警报类型。 可取值为:deviceDefaultbannermodalnone
badgesEnabled 布尔值 指示是否允许此应用使用徽章。
soundsEnabled 布尔值 指示是否允许此应用使用声音。

关系

JSON 表示形式

下面是资源的 JSON 表示形式。

{
  "@odata.type": "#microsoft.graph.iosNotificationSettings",
  "bundleID": "String",
  "appName": "String",
  "publisher": "String",
  "enabled": true,
  "showInNotificationCenter": true,
  "showOnLockScreen": true,
  "alertType": "String",
  "badgesEnabled": true,
  "soundsEnabled": true
}