你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DeviceTokenInstallation interface

表示具有基于字符串的设备令牌的安装。

扩展

属性

pushChannel

设备的推送通道。

继承属性

expirationTime

安装过期时间。

installationId

安装的 ID。

lastUpdate

安装的最后一个更新日期。

pushChannelExpired

如果 PNS 已过期通道,则此参数为 true。

pushVariables

安装的推送变量。

tags

用于定位此安装的标记。

templates

安装的模板。

userId

用于目标的安装的用户 ID。

属性详细信息

pushChannel

设备的推送通道。

pushChannel: string

属性值

string

继承属性详细信息

expirationTime

安装过期时间。

expirationTime?: string

属性值

string

继承自InstallationCommon.expirationTime

installationId

安装的 ID。

installationId: string

属性值

string

继承自InstallationCommon.installationId

lastUpdate

安装的最后一个更新日期。

lastUpdate?: string

属性值

string

继承自InstallationCommon.lastUpdate

pushChannelExpired

如果 PNS 已过期通道,则此参数为 true。

pushChannelExpired?: boolean

属性值

boolean

继承自InstallationCommon.pushChannelExpired

pushVariables

安装的推送变量。

pushVariables?: Record<string, string>

属性值

Record<string, string>

继承自InstallationCommon.pushVariables

tags

用于定位此安装的标记。

tags?: string[]

属性值

string[]

继承自InstallationCommon.tags

templates

安装的模板。

templates?: Record<string, InstallationTemplate>

属性值

Record<string, InstallationTemplate>

继承自InstallationCommon.templates

userId

用于目标的安装的用户 ID。

userId?: string

属性值

string

继承自InstallationCommon.userId