getBoolean

Creates a Boolean preference for the key with a default of false


Creates a Boolean preference for the key with a default of defaultValue