Added in API level 1
Deprecated in API level 29

PreferenceManager.OnActivityResultListener


public static interface PreferenceManager.OnActivityResultListener

android.preference.PreferenceManager.OnActivityResultListener


This interface was deprecated in API level 29.
Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings.

Interface definition for a class that will be called when the container's activity receives an activity result.

Summary

Public methods

abstract boolean onActivityResult(int requestCode, int resultCode, Intent data)

See Activity's onActivityResult.

Public methods

onActivityResult

Added in API level 1
public abstract boolean onActivityResult (int requestCode, 
                int resultCode, 
                Intent data)

See Activity's onActivityResult.

Parameters
requestCode int

resultCode int

data Intent

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