共用方式為


Message.SendingUid Property

Definition

Optional field indicating the uid that sent the message.

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

Property Value

Attributes

Remarks

Optional field indicating the uid that sent the message. This is only valid for messages posted by a Messenger; otherwise, it will be -1.

Java documentation for android.os.Message.sendingUid.

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