mobi.voiceassistant.base
Class Session
java.lang.Object
mobi.voiceassistant.base.Session
- All Implemented Interfaces:
- IInterface, Parcelable, IIntentExecutor
public final class Session
- extends Object
- implements Parcelable, IIntentExecutor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATOR
public static final Parcelable.Creator<Session> CREATOR
Session
public Session(IBinder iBinder,
Uri uri)
Session
public Session(Parcel parcel)
writeToParcel
public void writeToParcel(Parcel parcel,
int flags)
- Specified by:
writeToParcel
in interface Parcelable
asBinder
public IBinder asBinder()
- Specified by:
asBinder
in interface IInterface
getUri
public Uri getUri()
generateTag
protected String generateTag()
addResponse
public void addResponse(Response response)
updateResponse
public void updateResponse(Response response)
replaceResponse
public void replaceResponse(Response oldResponse,
Response withResponse)
removeResponse
public void removeResponse(Response response)
putResponse
public void putResponse(Uri uri,
Response response)
processInput
public void processInput(PendingInput input)
processRequest
public void processRequest(PendingRequest request)
execute
public void execute(Intent intent)
- Specified by:
execute
in interface IIntentExecutor
describeContents
public int describeContents()
- Specified by:
describeContents
in interface Parcelable
readSessionOrNullFromParcel
protected static Session readSessionOrNullFromParcel(Parcel parcel)
writeSessionOrNullFromParcel
protected static void writeSessionOrNullFromParcel(Parcel parcel,
Session session,
int flags)