AppPreference

Static Methods

getValue

25.0

string

Get preference value in native string form

Parameters

NameTypeDescription
preferenceKey
App preference key to get

setValue

25.0

boolean

Set backend preference using given list of property keys. The parameters are <key, value (number, boolean or string), persistence flag>

Parameters

NameTypeDescription
key
App preference key to set
value
boolean or string or number
Value to set for the preference key
persistenceFlag
Indicates whether the preference should be persisted or not

Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.