BroadcastReceiver.SentFromUid Property

Definition

Returns the uid of the app that initially sent this broadcast.

public virtual int SentFromUid { [Android.Runtime.Register("getSentFromUid", "()I", "GetGetSentFromUidHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getSentFromUid", "()I", "GetGetSentFromUidHandler", ApiSince=34)>]
member this.SentFromUid : int

Property Value

the uid of the broadcasting app or Process#INVALID_UID if the current receiver cannot access the identity of the broadcasting app

Attributes

Remarks

Returns the uid of the app that initially sent this broadcast.

Java documentation for android.content.BroadcastReceiver.getSentFromUid().

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