java.lang.Object | |
↳ | android.view.inputmethod.InputBinding |
Information given to an InputMethod
about a client connecting
to it.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR | Used to make this class parcelable. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
| |||||||||||
Constructor from an existing InputBinding taking a new local input
connection interface.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
Return the connection for interacting back with the application.
| |||||||||||
Return the token for the connection back to the application.
| |||||||||||
Return the process id where this binding came from.
| |||||||||||
Return the user id of the client associated with this binding.
| |||||||||||
Returns a string containing a concise, human-readable description of this
object.
| |||||||||||
Used to package this object into a
Parcel .
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
|
Used to make this class parcelable.
Constructor.
conn | The interface for communicating back with the application. |
---|---|
connToken | A remoteable token for communicating across processes. |
uid | The user id of the client of this binding. |
pid | The process id of where the binding came from. |
Constructor from an existing InputBinding taking a new local input connection interface.
conn | The new connection interface. |
---|---|
binding | Existing binding to copy. |
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
Return the connection for interacting back with the application.
Return the token for the connection back to the application. You can
not use this directly, it must be converted to a InputConnection
for you.
Return the user id of the client associated with this binding.
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.