forgerock-auth
4.5.0
forgerock-auth
/
org.forgerock.android.auth.callback
/
SuspendedTextOutputCallback
Suspended
Text
Output
Callback
open
class
SuspendedTextOutputCallback
:
TextOutputCallback
Callback to display information messages, warning messages and error messages.
Members
Constructors
Suspended
Text
Output
Callback
Link copied to clipboard
constructor
(
)
constructor
(
raw
:
JSONObject
,
index
:
Int
)
Properties
_id
Link copied to clipboard
protected
open
var
_id
:
Int
content
Link copied to clipboard
protected
open
var
content
:
String
ERROR
Link copied to clipboard
val
ERROR
:
Int
=
2
Error message.
INFORMATION
Link copied to clipboard
val
INFORMATION
:
Int
=
0
Information message.
message
Link copied to clipboard
private
open
var
message
:
String
The message
message
Type
Link copied to clipboard
private
open
var
messageType
:
Int
The message type
VALUE
Link copied to clipboard
protected
val
VALUE
:
String
=
"value"
WARNING
Link copied to clipboard
val
WARNING
:
Int
=
1
Warning message.
Functions
get_id
Link copied to clipboard
open
fun
get_id
(
)
:
Int
Get the _id received from server
get
Content
Link copied to clipboard
open
fun
getContent
(
)
:
String
Get the callback content
get
Content
As
Json
Link copied to clipboard
protected
open
fun
getContentAsJson
(
)
:
JSONObject
get
Input
Value
Link copied to clipboard
open
fun
getInputValue
(
)
:
Any
Get the first value for input
open
fun
getInputValue
(
index
:
Int
)
:
Any
Get the value for input
get
Name
Link copied to clipboard
protected
open
fun
getName
(
jsonObject
:
JSONObject
)
:
String
get
Type
Link copied to clipboard
open
fun
getType
(
)
:
String
Return the type of the Callback, the type name should align with the Callback type returned from AM
set
Attribute
Link copied to clipboard
protected
open
fun
setAttribute
(
name
:
String
,
value
:
Any
)
set
Content
Link copied to clipboard
protected
open
fun
setContent
(
jsonObject
:
JSONObject
)
Sets the value of the Callback
set
Value
Link copied to clipboard
protected
open
fun
setValue
(
value
:
Any
)
Set the first value for input
protected
open
fun
setValue
(
value
:
Any
,
index
:
Int
)
Set the value for the input.