Skip to main content
PFPushNotificationsSendPushNotificationRequest 数据模型。

语法

成员

advancedPlatformDelivery   PFPushNotificationsAdvancedPushPlatformMsg const*
may be nullptr
(可选)允许你提供格式精确的 json 以定向到目标设备。这是一项高级功能,允许你传递到自定义插件逻辑、字段或 PlayFab 本身不支持的功能。 advancedPlatformDeliveryCount   uint32_t advancedPlatformDelivery 的计数 customTags   PFStringDictionaryEntry const*
may be nullptr
(可选)与请求关联的可选自定义标记(例如内部版本号、外部跟踪标识符等)。 customTagsCount   uint32_t customTags 的计数 message   const char*
is null-terminated
(可选)要发送的消息的文本。 package   PFPushNotificationsPushNotificationPackage const*
may be nullptr
(可选)定义所有可能的推送属性,如消息、标题、图标等。某些参数特定于设备 - 有关详细信息,请参阅 PushNotificationPackage 文档。 recipient   const char*
is null-terminated
推送通知收件人的 PlayFabId。 subject   const char*
is null-terminated
(可选)要发送的消息的主题(可能不会在所有平台上显示)。 targetPlatforms   PFPushNotificationPlatform const*
may be nullptr
(可选)应接收消息或包的目标平台。如果省略,我们将发送到所有可用平台。 targetPlatformsCount   uint32_t targetPlatforms 的计数

要求

头文件: PFPushNotificationsTypes.h

另请参阅

PFPushNotificationsTypes 成员
最后修改于 2026年8月28日