public class

ChannelIdPreference

extends Preference
implements UAPreference
java.lang.Object
   ↳ android.preference.Preference
     ↳ com.urbanairship.preference.ChannelIdPreference

Class Overview

The Channel ID preference.

Summary

[Expand]
Inherited Constants
From class android.preference.Preference
Public Constructors
ChannelIdPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
ChannelIdPreference(Context context, AttributeSet attrs, int defStyleAttr)
ChannelIdPreference(Context context, AttributeSet attrs)
Public Methods
UAPreference.PreferenceType getPreferenceType()
Gets the preference type.
View onCreateView(ViewGroup parent)
void setValue(Object value)
Sets the current value of the preference.
Protected Methods
void onAttachedToActivity()
[Expand]
Inherited Methods
From class android.preference.Preference
From class java.lang.Object
From interface com.urbanairship.preference.UAPreference
From interface java.lang.Comparable

Public Constructors

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

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

public ChannelIdPreference (Context context, AttributeSet attrs)

Public Methods

public UAPreference.PreferenceType getPreferenceType ()

Gets the preference type.

Returns
  • PreferenceType type of UAPreference.

public View onCreateView (ViewGroup parent)

public void setValue (Object value)

Sets the current value of the preference.

Parameters
value The value of the preference.

Protected Methods

protected void onAttachedToActivity ()