|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mobi.voiceassistant.base.PendingRequest
public final class PendingRequest
Nested Class Summary | |
---|---|
static class |
PendingRequest.Builder
Builder for PendingRequest |
Nested classes/interfaces inherited from interface android.os.Parcelable |
---|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T> |
Field Summary | |
---|---|
static Parcelable.Creator<PendingRequest> |
CREATOR
|
Fields inherited from interface android.os.Parcelable |
---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Constructor Summary | |
---|---|
PendingRequest(Uri origin,
Class<?> cls,
int dispatchId,
Token token)
Deprecated. Use PendingRequest.Builder |
|
PendingRequest(Uri origin,
ComponentName component,
ResId dispatch,
Token token)
Deprecated. Use PendingRequest.Builder |
|
PendingRequest(Uri origin,
int dispatchId,
Token token)
Deprecated. Use PendingRequest.Builder |
Method Summary | ||
---|---|---|
int |
describeContents()
|
|
String |
getAction()
Returns action for this PendingRequest. |
|
ComponentName |
getComponent()
Returns component name for this request. |
|
|
getContent()
Returns content for this PendingRequest |
|
ResId |
getDispatch()
Returns dispatch for this PendingRequest. |
|
Label |
getLabel()
Returns label for this PendingRequest. |
|
Uri |
getOrigin()
Returns origin of this PendingRequest. |
|
PendingIntent |
getPendingIntent(Context context)
|
|
PendingIntent |
getPendingIntent(Context context,
int requestCode)
|
|
void |
writeToParcel(Parcel parcel,
int flags)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Parcelable.Creator<PendingRequest> CREATOR
Constructor Detail |
---|
@Deprecated public PendingRequest(Uri origin, int dispatchId, Token token)
PendingRequest.Builder
@Deprecated public PendingRequest(Uri origin, Class<?> cls, int dispatchId, Token token)
PendingRequest.Builder
@Deprecated public PendingRequest(Uri origin, ComponentName component, ResId dispatch, Token token)
PendingRequest.Builder
Method Detail |
---|
public Label getLabel()
null
PendingRequest.Builder.setLabel(Label)
public String getAction()
null
PendingRequest.Builder.setAction(String)
,
Request.getAction()
public Uri getOrigin()
PendingRequest.Builder.build(Uri)
,
Request.getOrigin()
public ComponentName getComponent()
PendingRequest.Builder.setComponent(ComponentName)
,
Request.getComponent()
public ResId getDispatch()
PendingRequest.Builder.setDispatch(ResId)
,
PendingRequest.Builder.setDispatchId(int)
,
Request.getDispatch()
,
Request.getDispatchId()
public <T> T getContent()
PendingRequest.Builder.setContent(Object)
,
Request.getContent()
public PendingIntent getPendingIntent(Context context)
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel parcel, int flags)
writeToParcel
in interface Parcelable
public PendingIntent getPendingIntent(Context context, int requestCode)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |