このページはAIにより自動翻訳されており、不正確な内容が含まれている可能性があります。翻訳の誤りを報告するには、ページ右側の目次の下にあるフィードバックをご利用ください。
KindleおよびFireOSプッシュオブジェクト
kindle_pushオブジェクトを使用すると、メッセージングエンドポイントでKindleおよびFireOSプッシュ通知を変更または作成できます。
1
2
3
4
5
6
7
8
9
10
11
{
"alert": (required, string) the notification message,
"title": (required, string) the title that appears in the notification drawer,
"extra": (optional, object) additional keys and values to be sent in the push,
"message_variation_id": (optional, string) used when providing a campaign_id to specify which message variation this message should be tracked under (must be an Kindle/FireOS Push Message),
"priority": (optional, integer) the notification priority value,
"collapse_key": (optional, string) the collapse key for this message,
// Specifying "default" in the sound field will play the standard notification sound
"sound": (optional, string) the location of a custom notification sound within the app,
"custom_uri": (optional, string) a web URL, or Deep Link URI
}
priorityパラメータは-2から2までの値を受け入れます。-2は最低の優先度を表し、2は最高の優先度を表します。0はデフォルト値です。この整数範囲外で送信された値は、デフォルトの0に設定されます。
New Stuff!