共用方式為


Message.Arg1 Property

Definition

arg1 and arg2 are lower-cost alternatives to using #setData(Bundle) setData() if you only need to store a few integer values.

[Android.Runtime.Register("arg1")]
public int Arg1 { get; set; }
[<Android.Runtime.Register("arg1")>]
member this.Arg1 : int with get, set

Property Value

Attributes

Remarks

arg1 and arg2 are lower-cost alternatives to using #setData(Bundle) setData() if you only need to store a few integer values.

Java documentation for android.os.Message.arg1.

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