Postingan

Menampilkan postingan dengan label Twitter

Bringing @Twitter's DMs into Android 11’s Conversation API

Gambar
This blogpost is a collaboration between Google and Twitter. Authored by Aaron Labiaga with support from Fred Lohner, Suzanne Xie, and Alex Ackerman-Greenberg from Twitter. Direct Messages for the conversation space Twitter is a social media app and source for what's happening in the world. And with Android 11’s Conversation APIs , surfacing Twitter’s Direct Messages to the conversation space makes perfect sense as it features real people talking in real time bidirectional conversations. Conversation Notification API To surface notifications in the conversation space, developers need to use Messaging style notifications set with a published long-lived shortcut ID . The shortcut ID allows for surfacing the conversation throughout various surfaces in the UI, including as a shortcut in the launcher. For details and sample code on how this is done, please see the conversation API guidelines . A Q&A with the Twitter team Frederik Lohner, tech lead of Twitter’s notifications te...