次の方法で共有


MockContext.SendStickyOrderedBroadcast メソッド

定義

注意事項

deprecated

[Android.Runtime.Register("sendStickyOrderedBroadcast", "(Landroid/content/Intent;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V", "GetSendStickyOrderedBroadcast_Landroid_content_Intent_Landroid_content_BroadcastReceiver_Landroid_os_Handler_ILjava_lang_String_Landroid_os_Bundle_Handler")]
[System.Obsolete("deprecated")]
public override void SendStickyOrderedBroadcast (Android.Content.Intent? intent, Android.Content.BroadcastReceiver? resultReceiver, Android.OS.Handler? scheduler, Android.App.Result initialCode, string? initialData, Android.OS.Bundle? initialExtras);
[<Android.Runtime.Register("sendStickyOrderedBroadcast", "(Landroid/content/Intent;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V", "GetSendStickyOrderedBroadcast_Landroid_content_Intent_Landroid_content_BroadcastReceiver_Landroid_os_Handler_ILjava_lang_String_Landroid_os_Bundle_Handler")>]
[<System.Obsolete("deprecated")>]
override this.SendStickyOrderedBroadcast : Android.Content.Intent * Android.Content.BroadcastReceiver * Android.OS.Handler * Android.App.Result * string * Android.OS.Bundle -> unit

パラメーター

intent
Intent

ブロードキャストする意図。この意図に一致するすべての受信者がブロードキャストを受信します。

resultReceiver
BroadcastReceiver

ブロードキャストの最終受信者として扱う独自の BroadcastReceiver。

scheduler
Handler

resultReceiver コールバックをスケジュールするカスタム ハンドラー。null の場合は、コンテキストのメイン スレッドでスケジュールされます。

initialCode
Result

結果コードの初期値。 多くの場合、Activity.RESULT_OK。

initialData
String

結果データの初期値。 多くの場合、null。

initialExtras
Bundle

結果の追加情報の初期値。 多くの場合、null。

属性

注釈

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象