Android Guides | Samples

Android.Content.BroadcastReceiver.ResultData Property

Retrieve the current result data, as set by the previous receiver.

Syntax

[get: Android.Runtime.Register("getResultData", "()Ljava/lang/String;", "GetGetResultDataHandler")]
[set: Android.Runtime.Register("setResultData", "(Ljava/lang/String;)V", "GetSetResultData_Ljava_lang_String_Handler")]
public String ResultData { get; set; }

See Also

Remarks

Get method documentation[Android Documentation]
Retrieve the current result data, as set by the previous receiver. Often this is null.

Set method documentation[Android Documentation]
Change the current result data of this broadcast; only works with broadcasts sent through Context.SendOrderedBroadcast(Intent,String). This is an arbitrary string whose interpretation is up to the broadcaster.

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

Requirements

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