Android Guides | Samples

Android.Content.BroadcastReceiver.SetResultExtras Method

Change the current result extras of this broadcast; only works with broadcasts sent through Context.SendOrderedBroadcast(Intent,String).

Syntax

[Android.Runtime.Register("setResultExtras", "(Landroid/os/Bundle;)V", "")]
public Void SetResultExtras (Bundle extras)

See Also

Parameters

extras
The new extra data map; may be null.

Remarks

Change the current result extras of this broadcast; only works with broadcasts sent through Context.SendOrderedBroadcast(Intent,String). This is a Bundle holding arbitrary data, whose interpretation is up to the broadcaster. Can be set to null. Calling this method completely replaces the current map (if any).

This method does not work with non-ordered broadcasts such as those sent with Context.SendBroadcast(Intent)

[Android Documentation]

Requirements

Namespace: Android.Content
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1