Udostępnij za pośrednictwem


BinderConsts.LikeTransaction Field

Definition

Caution

Use 'Android.OS.IBinder.LikeTransaction'. This class will be removed in a future release.

IBinder protocol transaction code: tell an app asynchronously that the caller likes it.

[Android.Runtime.Register("LIKE_TRANSACTION")]
[System.Obsolete("Use 'Android.OS.IBinder.LikeTransaction'. This class will be removed in a future release.")]
public const int LikeTransaction = 1598835019;
[<Android.Runtime.Register("LIKE_TRANSACTION")>]
[<System.Obsolete("Use 'Android.OS.IBinder.LikeTransaction'. This class will be removed in a future release.")>]
val mutable LikeTransaction : int

Field Value

Value = 1598835019
Attributes

Remarks

IBinder protocol transaction code: tell an app asynchronously that the caller likes it. The app is responsible for incrementing and maintaining its own like counter, and may display this value to the user to indicate the quality of the app. This is an optional command that applications do not need to handle, so the default implementation is to do nothing.

There is no response returned and nothing about the system will be functionally affected by it, but it will improve the app's self-esteem.

Java documentation for android.os.IBinder.LIKE_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