BroadcastReceiver.SentFromUid Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.