The second Android 11 Developer Preview is now available, test it out and share your feedback.

SharedPreferencesCompat

public final class SharedPreferencesCompat
extends Object

java.lang.Object
   ↳ androidx.core.content.SharedPreferencesCompat


This class is deprecated.
This compatibility class is no longer required. Use SharedPreferences directly.

Summary

Nested classes

class SharedPreferencesCompat.EditorCompat

This class is deprecated. This compatibility class is no longer required. Use SharedPreferences.Editor directly.  

Inherited methods