Freigeben über


IBinder.TweetTransaction Field

Definition

IBinder protocol transaction code: send a tweet to the target object.

[Android.Runtime.Register("TWEET_TRANSACTION")]
public const int TweetTransaction = 1599362900;
[<Android.Runtime.Register("TWEET_TRANSACTION")>]
val mutable TweetTransaction : int

Field Value

Value = 1599362900
Attributes

Remarks

IBinder protocol transaction code: send a tweet to the target object. The data in the parcel is intended to be delivered to a shared messaging service associated with the object; it can be anything, as long as it is not more than 130 UTF-8 characters to conservatively fit within common messaging services. As part of Build.VERSION_CODES#HONEYCOMB_MR2, all Binder objects are expected to support this protocol for fully integrated tweeting across the platform. To support older code, the default implementation logs the tweet to the main log as a simple emulation of broadcasting it publicly over the Internet.

Also, upon completing the dispatch, the object must make a cup of tea, return it to the caller, and exclaim "jolly good message old boy!".

Java documentation for android.os.IBinder.TWEET_TRANSACTION.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to