BroadcastReceiver.GoAsync Method
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.
This can be called by an application in #onReceive
to allow
it to keep the broadcast active after returning from that function.
[Android.Runtime.Register("goAsync", "()Landroid/content/BroadcastReceiver$PendingResult;", "")]
public Android.Content.BroadcastReceiver.PendingResult? GoAsync ();
[<Android.Runtime.Register("goAsync", "()Landroid/content/BroadcastReceiver$PendingResult;", "")>]
member this.GoAsync : unit -> Android.Content.BroadcastReceiver.PendingResult
Returns a PendingResult
representing the result of
the active broadcast. The BroadcastRecord itself is no longer active;
all data and other interaction must go through PendingResult
APIs. The PendingResult#finish PendingResult.finish()
method
must be called once processing of the broadcast is done.
- Attributes
Java documentation for android.content.BroadcastReceiver.goAsync()
.
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.