> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFPushNotificationsPushNotificationPackage

> PFPushNotificationsPushNotificationPackage データ モデル。

PFPushNotificationsPushNotificationPackage データ モデル。

## 構文

```cpp theme={null}
typedef struct PFPushNotificationsPushNotificationPackage {  
    int32_t badge;  
    const char* customData;  
    const char* icon;  
    const char* message;  
    const char* sound;  
    const char* title;  
} PFPushNotificationsPushNotificationPackage;  
```

### メンバー

**`badge`**   int32\_t

アプリ アイコンに表示する数値バッジ (iOS のみ)。

**`customData`**   const char\*\
*is null-terminated*

(省略可) これは JSON 形式のオブジェクトである必要があります。開発者が作成したカスタム プッシュ通知プラグインで使用します。

**`icon`**   const char\*\
*is null-terminated*

(省略可) メッセージと共に表示するアイコン ファイル (iOS ではサポートされていません)。

**`message`**   const char\*\
*is null-terminated*

メッセージの内容 (すべてのプラットフォーム)。

**`sound`**   const char\*\
*is null-terminated*

(省略可) メッセージと共に再生するサウンド ファイル (すべてのプラットフォーム)。

**`title`**   const char\*\
*is null-terminated*

メッセージのタイトル/件名。iOS ではサポートされていません。

## 要件

**ヘッダー:** PFPushNotificationsTypes.h

## 関連項目

[PFPushNotificationsTypes のメンバー](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members.md)


## Related topics

- [Services C API overview - PFPushNotificationsTypes.h](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members.md)
- [PFPushNotificationsSendPushNotificationRequest](https://docs.xbox.com/ja-jp/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationrequest.md)
- [Send Push Notification](https://docs.xbox.com/api-reference/account-management/send-push-notification.md)
- [push_notification_sent](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/TitleCommunications/push-notification-sent.md)
- [sent_push_notification](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/TitleCommunications/sent-push-notification.md)
