Android.OS.ResultReceiver Class
Generic interface for receiving a callback result from someone.

See Also: ResultReceiver Members

Syntax

[Android.Runtime.Register("android/os/ResultReceiver", DoNotGenerateAcw=true)]
public class ResultReceiver : Java.Lang.Object, IParcelable, IDisposable

Remarks

Generic interface for receiving a callback result from someone. Use this by creating a subclass and implement ResultReceiver.OnReceiveResult(int, Android.OS.Bundle), which you can then pass to others and send through IPC, and receive results they supply with ResultReceiver.Send(Android.App.Result, Android.OS.Bundle).

Note: the implementation underneath is just a simple wrapper around a Android.OS.Binder that is used to perform the communication. This means semantically you should treat it as such: this class does not impact process lifecycle management (you must be using some higher-level component to tell the system that your process needs to continue running), the connection will break if your process goes away for any reason, etc.

[Android Documentation]

Requirements

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