Skip to content

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!