public class

QuietTimeEndPreference

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

Class Overview

DialogPreference to set the quiet time end.

Summary

[Expand]
Inherited Constants
From class android.preference.Preference
Public Constructors
QuietTimeEndPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
QuietTimeEndPreference(Context context, AttributeSet attrs, int defStyleAttr)
QuietTimeEndPreference(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 QuietTimeEndPreference (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

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

public QuietTimeEndPreference (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.