Android.App.Activity.SetResult Method
Call this to set the result that your activity will return to its caller.

Syntax

[Android.Runtime.Register("setResult", "(I)V", "")]
public void SetResult ([Android.Runtime.GeneratedEnum] Result resultCode)

See Also

Activity.SetResult(Result, Android.Content.Intent)

Parameters

resultCode
The result code to propagate back to the originating activity, often RESULT_CANCELED or RESULT_OK

Remarks

Call this to set the result that your activity will return to its caller.

[Android Documentation]

Requirements

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