shared

Gets the shared PreferenceCenter instance.

This method is the static entry point for Java clients. It delegates access to the primary Airship singleton, ensuring the component is available and fully initialized before returning.

Return

an instance of PreferenceCenter.

See also

For the corresponding Kotlin extension property.

Throws

if Airship.takeOff has not been called.