Key-value pairs
This reference article covers how to use News Feed key-value pairs in your Android or FireOS application.
important:
News Feed is being deprecated. We recommend migrating to our Content Cards messaging channel instead—it’s more flexible, customizable, and reliable. To get started, check out Migrating from News Feed.
Card
objects may optionally carry key-value pairs as extras
. These can be used to send data down with a Card
for further handling by the application.
Call the following on a Card
object to retrieve its extras:
1
Map<String, String> getExtras()
1
extras: Map<String, String>
New Stuff!