| java.lang.Object |
| ↳ |
androidx.test.services.speakeasy.SpeakEasyProtocol.PublishResult |
Class Overview
Represents a publish response from speakeasy.
Summary
| Fields |
|
public
final
String |
error |
An error message if publishing failed. |
|
public
final
String |
key |
The key that this message is about. |
|
public
final
boolean |
published |
Whether or not the IBinder was published. |
|
[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()
|
|
Fields
public
final
String
error
An error message if publishing failed.
public
final
String
key
The key that this message is about.
public
final
boolean
published
Whether or not the IBinder was published.
Public Methods
public
static
Bundle
asBundle
(String key, boolean published, String error)
Encodes a publish result into a bundle.
| Parameters |
key |
String |
published |
boolean: if the IBinder has been published. |
error |
String: a message to tell the caller about how broken things are. |