Class PollingWaitCallback
- java.lang.Object
-
- org.forgerock.android.auth.callback.AbstractCallback
-
- org.forgerock.android.auth.callback.PollingWaitCallback
-
- All Implemented Interfaces:
java.io.Serializable,Callback
public class PollingWaitCallback extends AbstractCallback
Class representative of a PollingWaitCallback Callback Object which instructs a client to wait for the given period and then resubmit their request.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.forgerock.android.auth.callback.AbstractCallback
_id, content, VALUE
-
-
Constructor Summary
Constructors Constructor Description PollingWaitCallback()PollingWaitCallback(org.json.JSONObject raw, int index)Constructor for creating this Callback
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()The message which should be displayed to the userjava.lang.StringgetType()Return the type of the Callback, the type name should align with the Callback type returned from AMjava.lang.StringgetWaitTime()The period of time in milliseconds that the client should wait before replying to this callback.protected voidsetAttribute(java.lang.String name, java.lang.Object value)-
Methods inherited from class org.forgerock.android.auth.callback.AbstractCallback
get_id, getContent, getContentAsJson, getInputValue, getInputValue, getName, setContent, setValue, setValue
-
-
-
-
Method Detail
-
setAttribute
protected void setAttribute(java.lang.String name, java.lang.Object value)- Specified by:
setAttributein classAbstractCallback
-
getType
public java.lang.String getType()
Description copied from interface:CallbackReturn the type of the Callback, the type name should align with the Callback type returned from AM
-
getWaitTime
public java.lang.String getWaitTime()
The period of time in milliseconds that the client should wait before replying to this callback.
-
getMessage
public java.lang.String getMessage()
The message which should be displayed to the user
-
-