public class

QuietTimeStartPreference

extends QuietTimePickerPreference
java.lang.Object
   ↳ android.preference.Preference
     ↳ android.preference.DialogPreference
       ↳ com.urbanairship.preference.QuietTimePickerPreference
         ↳ com.urbanairship.preference.QuietTimeStartPreference

Class Overview

DialogPreference to set the quiet time start.

Summary

[Expand]
Inherited Constants
From class android.preference.Preference
Public Constructors
QuietTimeStartPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
QuietTimeStartPreference(Context context, AttributeSet attrs, int defStyleAttr)
QuietTimeStartPreference(Context context, AttributeSet attrs)
Protected Methods
String getContentDescription()
Called to get the content description of the preference's view.
long getInitialAirshipValue(UAirship airship)
Gets the initial Urban Airship value for the preference.
void onApplyAirshipPreference(UAirship airship, long time)
Called when the preference should be set on Urban Airship.
[Expand]
Inherited Methods
From class com.urbanairship.preference.QuietTimePickerPreference
From class android.preference.DialogPreference
From class android.preference.Preference
From class java.lang.Object
From interface android.content.DialogInterface.OnClickListener
From interface android.content.DialogInterface.OnDismissListener
From interface android.preference.PreferenceManager.OnActivityDestroyListener
From interface java.lang.Comparable

Public Constructors

public QuietTimeStartPreference (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

public QuietTimeStartPreference (Context context, AttributeSet attrs, int defStyleAttr)

public QuietTimeStartPreference (Context context, AttributeSet attrs)

Protected Methods

protected String getContentDescription ()

Called to get the content description of the preference's view.

Returns
  • The content description.

protected long getInitialAirshipValue (UAirship airship)

Gets the initial Urban Airship value for the preference.

Parameters
airship The UAirship instance.
Returns
  • The initial value for the preference.

protected void onApplyAirshipPreference (UAirship airship, long time)

Called when the preference should be set on Urban Airship.

Parameters
airship The UAirship instance.
time The value of the preference.