getPreferenceOrNullBlocking

Get preference value by key or null blocking the thread

Return

The value of the preference or null if not found

Parameters

key

Preference key