Share via


SettingsPreferenceServiceClient.Close Method

Definition

This client handles a resource, thus is it important to appropriately close that resource when it is no longer needed.

[Android.Runtime.Register("close", "()V", "GetCloseHandler", ApiSince=36)]
public virtual void Close();
[<Android.Runtime.Register("close", "()V", "GetCloseHandler", ApiSince=36)>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Remarks

This client handles a resource, thus is it important to appropriately close that resource when it is no longer needed.

This method is provided by AutoCloseable and calling it will unbind any service binding.

Java documentation for android.service.settings.preferences.SettingsPreferenceServiceClient.close().

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