FileDocCategorySizeDatePackage
InputBindResult.javaAPI DocAndroid 1.5 API2647Wed May 06 22:41:56 BST 2009com.android.internal.view

InputBindResult

public final class InputBindResult extends Object implements android.os.Parcelable
Bundle of information returned by input method manager about a successful binding to an input method.

Fields Summary
static final String
TAG
public final IInputMethodSession
method
The input method service.
public final String
id
The ID for this input method, as found in InputMethodInfo; null if no input method will be bound.
public final int
sequence
Sequence number of this binding.
public static final Parcelable.Creator
CREATOR
Used to make this class parcelable.
Constructors Summary
public InputBindResult(IInputMethodSession _method, String _id, int _sequence)

    
           
        method = _method;
        id = _id;
        sequence = _sequence;
    
InputBindResult(android.os.Parcel source)

        method = IInputMethodSession.Stub.asInterface(source.readStrongBinder());
        id = source.readString();
        sequence = source.readInt();
    
Methods Summary
public intdescribeContents()


       
        return 0;
    
public java.lang.StringtoString()

        return "InputBindResult{" + method + " " + id
                + " #" + sequence + "}";
    
public voidwriteToParcel(android.os.Parcel dest, int flags)
Used to package this object into a {@link Parcel}.

param
dest The {@link Parcel} to be written.
param
flags The flags used for parceling.

        dest.writeStrongInterface(method);
        dest.writeString(id);
        dest.writeInt(sequence);