다음을 통해 공유


MockContext.SendStickyBroadcastAsUser(Intent, UserHandle) Method

Definition

Caution

deprecated

[Android.Runtime.Register("sendStickyBroadcastAsUser", "(Landroid/content/Intent;Landroid/os/UserHandle;)V", "GetSendStickyBroadcastAsUser_Landroid_content_Intent_Landroid_os_UserHandle_Handler")]
[System.Obsolete("deprecated")]
public override void SendStickyBroadcastAsUser (Android.Content.Intent? intent, Android.OS.UserHandle? user);
[<Android.Runtime.Register("sendStickyBroadcastAsUser", "(Landroid/content/Intent;Landroid/os/UserHandle;)V", "GetSendStickyBroadcastAsUser_Landroid_content_Intent_Landroid_os_UserHandle_Handler")>]
[<System.Obsolete("deprecated")>]
override this.SendStickyBroadcastAsUser : Android.Content.Intent * Android.OS.UserHandle -> unit

Parameters

intent
Intent

The Intent to broadcast; all receivers matching this Intent will receive the broadcast, and the Intent will be held to be re-broadcast to future receivers.

user
UserHandle

UserHandle to send the intent to.

Attributes

Remarks

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