public class

LocalizableRemoteInput

extends Object
java.lang.Object
   ↳ com.urbanairship.push.notifications.LocalizableRemoteInput

Class Overview

Remote Input that stores the resource ID instead of a String.

Summary

Nested Classes
class LocalizableRemoteInput.Builder Builds the LocalizableRemoteInput. 
Public Methods
RemoteInput createRemoteInput(Context context)
Creates the remote input.
boolean getAllowFreeFormInput()
Gets the allowFreeFormInput boolean value.
int[] getChoices()
Get possible input choices.
Bundle getExtras()
Gets the extras.
int getLabel()
Gets the label ID.
String getResultKey()
Gets the result key.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public RemoteInput createRemoteInput (Context context)

Creates the remote input.

Parameters
context The application context.
Returns
  • The remote input.

public boolean getAllowFreeFormInput ()

Gets the allowFreeFormInput boolean value.

Returns
  • true if free form input is allowed, otherwise false.

public int[] getChoices ()

Get possible input choices. This can be null if there are no choices to present.

Returns
  • The choices as an array of int.

public Bundle getExtras ()

Gets the extras.

Returns
  • The extras as a bundle.

public int getLabel ()

Gets the label ID.

Returns
  • The label ID as an int.

public String getResultKey ()

Gets the result key.

Returns
  • The result key as a string.