get

get: (arg: PreferenceKeyArg & ITwinIdArg & TokenArg) => Promise<any>

Method to get a user preference based off of a key within a namespace.

If both iTwinId and iModelId are provided, the iModel level will be check first. If it does not exist, the iTwin level will checked next.

@throws if an error occurs when attempting to retrieve a preference.

Defined in

Last Updated: 14 November, 2024