> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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\*<br />*is null-terminated*

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

**`icon`**   const char\*<br />*is null-terminated*

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

**`message`**   const char\*<br />*is null-terminated*

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

**`sound`**   const char\*<br />*is null-terminated*

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

**`title`**   const char\*<br />*is null-terminated*

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

## 要件

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

## 関連項目

[PFPushNotificationsTypes のメンバー](/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members)


## Related topics

- [Services C API overview - PFPushNotificationsTypes.h](/ja-jp/services/playfab/api-references/c/pfpushnotificationstypes/pfpushnotificationstypes_members.md)
- [PFPushNotificationsSendPushNotificationRequest](/ja-jp/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationrequest.md)
- [push_notification_sent](/ja-jp/services/playfab/api-references/events/TitleCommunications/push-notification-sent.md)
- [sent_push_notification](/ja-jp/services/playfab/api-references/events/TitleCommunications/sent-push-notification.md)
- [PFPushNotificationsSendPushNotificationFromTemplateRequest](/ja-jp/services/playfab/api-references/c/pfpushnotificationstypes/structs/pfpushnotificationssendpushnotificationfromtemplaterequest.md)
