Dela via


PreferenceManager.IOnActivityResultListener.OnActivityResult Method

Definition

See Activity's onActivityResult.

[Android.Runtime.Register("onActivityResult", "(IILandroid/content/Intent;)Z", "GetOnActivityResult_IILandroid_content_Intent_Handler:Android.Preferences.PreferenceManager/IOnActivityResultListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool OnActivityResult (int requestCode, Android.App.Result resultCode, Android.Content.Intent? data);
[<Android.Runtime.Register("onActivityResult", "(IILandroid/content/Intent;)Z", "GetOnActivityResult_IILandroid_content_Intent_Handler:Android.Preferences.PreferenceManager/IOnActivityResultListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnActivityResult : int * Android.App.Result * Android.Content.Intent -> bool

Parameters

requestCode
Int32
resultCode
Result
data
Intent

Returns

Whether the request code was handled (in which case subsequent listeners will not be called.

Attributes

Remarks

See Activity's onActivityResult.

Java documentation for android.preference.PreferenceManager.OnActivityResultListener.onActivityResult(int, int, android.content.Intent).

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.

Applies to