共用方式為


PreferenceActivity.FinishPreferencePanel(Fragment, Result, Intent) Method

Definition

Called by a preference panel fragment to finish itself.

[Android.Runtime.Register("finishPreferencePanel", "(Landroid/app/Fragment;ILandroid/content/Intent;)V", "GetFinishPreferencePanel_Landroid_app_Fragment_ILandroid_content_Intent_Handler")]
public virtual void FinishPreferencePanel (Android.App.Fragment? caller, Android.App.Result resultCode, Android.Content.Intent? resultData);
[<Android.Runtime.Register("finishPreferencePanel", "(Landroid/app/Fragment;ILandroid/content/Intent;)V", "GetFinishPreferencePanel_Landroid_app_Fragment_ILandroid_content_Intent_Handler")>]
abstract member FinishPreferencePanel : Android.App.Fragment * Android.App.Result * Android.Content.Intent -> unit
override this.FinishPreferencePanel : Android.App.Fragment * Android.App.Result * Android.Content.Intent -> unit

Parameters

caller
Fragment

The fragment that is asking to be finished.

resultCode
Result

Optional result code to send back to the original launching fragment.

resultData
Intent

Optional result data to send back to the original launching fragment.

Attributes

Remarks

Called by a preference panel fragment to finish itself.

Java documentation for android.preference.PreferenceActivity.finishPreferencePanel(android.app.Fragment, 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