次の方法で共有


PreferenceManager.SetStorageDefault Method

Definition

Sets the storage location used internally by this class to be the default provided by the hosting Context.

[Android.Runtime.Register("setStorageDefault", "()V", "GetSetStorageDefaultHandler", ApiSince=24)]
public virtual void SetStorageDefault ();
[<Android.Runtime.Register("setStorageDefault", "()V", "GetSetStorageDefaultHandler", ApiSince=24)>]
abstract member SetStorageDefault : unit -> unit
override this.SetStorageDefault : unit -> unit
Attributes

Remarks

Sets the storage location used internally by this class to be the default provided by the hosting Context.

Java documentation for android.preference.PreferenceManager.setStorageDefault().

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