Class Overview
This class is an object class that will hold the information about the execution of an operation.
The getResult()
method will inform if the operation has failed, succeeded or if no
changes were required.
To have more details about the operation result, use the method getMessage()
, that will
return a specific string describing the operation result, and getErrorCode()
, that will
return the related error code.
Summary
Nested Classes |
enum |
FirewallResponse.ErrorCode |
These constants indicate the possible error code related to an operation. |
enum |
FirewallResponse.Result |
These constants indicate the possible results of an operation. |
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Public Constructors
public
FirewallResponse
()
Creates a FirewallResponse instance.
Public Methods
API to get the error code of the executed operation.
Returns
- The error code of the operation.
Usage
An administrator can use this API to get the error code of the executed operation. For
more information about the error codes see FirewallResponse.ErrorCode . |
public
String
getMessage
()
API to get a specific message about the executed operation.
Usage
An administrator can use this API to get a specific message about the executed
operation. |
API to get the result of the executed operation.
Returns
- The result of the operation.
Usage
An administrator can use this API to get the result of the executed operation. |