Android 11 开发者预览版现已推出;快来测试并分享您的反馈吧
added in version 24.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
Deprecated since version 27.1.0

SharedPreferencesCompat

public final class SharedPreferencesCompat
extends Object

java.lang.Object
   ↳ android.support.v4.content.SharedPreferencesCompat


This class was deprecated in API level 27.1.0.
This compatibility class is no longer required. Use SharedPreferences directly.

Summary

Nested classes

class SharedPreferencesCompat.EditorCompat

This class was deprecated in API level 27.1.0. This compatibility class is no longer required. Use SharedPreferences.Editor directly.  

Inherited methods

From class java.lang.Object