3 Replies Latest reply on Mar 1, 2018 5:59 AM by daves95694859

    AIPreference, Checking a preference exists before getting it

    daves95694859 Level 1



      Is it possible to check that a preference exists before getting it? Obviously you need to PutPreference before GetPreference will get anything meaningful. This is an issue mostly for string preferences where it seems that GetStringPreference returns a load of nonsense when the preference it's trying to get doesn't exist. If it's not possible to check, is there a way of specifying a default value for it to return?