Partager via


SdkSandboxController.ClientSharedPreferences Property

Definition

Returns SharedPreferences containing data synced from the client app.

public virtual Android.Content.ISharedPreferences ClientSharedPreferences { [Android.Runtime.Register("getClientSharedPreferences", "()Landroid/content/SharedPreferences;", "GetGetClientSharedPreferencesHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getClientSharedPreferences", "()Landroid/content/SharedPreferences;", "GetGetClientSharedPreferencesHandler", ApiSince=34)>]
member this.ClientSharedPreferences : Android.Content.ISharedPreferences

Property Value

SharedPreferences containing data synced from client app.

Attributes

Remarks

Returns SharedPreferences containing data synced from the client app.

Keys that have been synced by the client app using SdkSandboxManager#addSyncedSharedPreferencesKeys(Set) can be found in this SharedPreferences.

The returned SharedPreferences should only be read. Writing to it is not supported.

Java documentation for android.app.sdksandbox.sdkprovider.SdkSandboxController.getClientSharedPreferences().

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