Documentation
¶
Overview ¶
Package input provides Go bindings for android.hardware.input.
Index ¶
- Constants
- func Init(env *jni.Env) error
- type HostUsiVersion
- func (m *HostUsiVersion) DescribeContents() (int32, error)
- func (m *HostUsiVersion) Equals(arg0 *jni.Object) (bool, error)
- func (m *HostUsiVersion) GetMajorVersion() (int32, error)
- func (m *HostUsiVersion) GetMinorVersion() (int32, error)
- func (m *HostUsiVersion) HashCode() (int32, error)
- func (m *HostUsiVersion) ToString() (string, error)
- func (m *HostUsiVersion) WriteToParcel(arg0 *jni.Object, arg1 int32) error
- type Manager
- func (m *Manager) Close()
- func (m *Manager) GetHostUsiVersion(arg0 *jni.Object) (*jni.Object, error)
- func (m *Manager) GetInputDevice(arg0 int32) (*jni.Object, error)
- func (m *Manager) GetInputDeviceIds() (*jni.Object, error)
- func (m *Manager) GetInputDeviceViewBehavior(arg0 int32) (*jni.Object, error)
- func (m *Manager) GetMaximumObscuringOpacityForTouch() (float32, error)
- func (m *Manager) IsStylusPointerIconEnabled() (bool, error)
- func (m *Manager) UnregisterInputDeviceListener(arg0 *jni.Object) error
- func (m *Manager) VerifyInputEvent(arg0 *jni.Object) (*jni.Object, error)
- type ManagerInputDeviceListener
Constants ¶
const ( ActionQueryKeyboardLayouts = consts.ActionQueryKeyboardLayouts MetaDataKeyboardLayouts = consts.MetaDataKeyboardLayouts )
const (
Creator = consts.Creator
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HostUsiVersion ¶
HostUsiVersion wraps android.hardware.input.HostUsiVersion.
func (*HostUsiVersion) DescribeContents ¶
func (m *HostUsiVersion) DescribeContents() (int32, error)
DescribeContents calls android.hardware.input.HostUsiVersion.describeContents.
func (*HostUsiVersion) Equals ¶
func (m *HostUsiVersion) Equals(arg0 *jni.Object) (bool, error)
Equals calls android.hardware.input.HostUsiVersion.equals.
func (*HostUsiVersion) GetMajorVersion ¶
func (m *HostUsiVersion) GetMajorVersion() (int32, error)
GetMajorVersion calls android.hardware.input.HostUsiVersion.getMajorVersion.
func (*HostUsiVersion) GetMinorVersion ¶
func (m *HostUsiVersion) GetMinorVersion() (int32, error)
GetMinorVersion calls android.hardware.input.HostUsiVersion.getMinorVersion.
func (*HostUsiVersion) HashCode ¶
func (m *HostUsiVersion) HashCode() (int32, error)
HashCode calls android.hardware.input.HostUsiVersion.hashCode.
func (*HostUsiVersion) ToString ¶
func (m *HostUsiVersion) ToString() (string, error)
ToString calls android.hardware.input.HostUsiVersion.toString.
func (*HostUsiVersion) WriteToParcel ¶
func (m *HostUsiVersion) WriteToParcel(arg0 *jni.Object, arg1 int32) error
WriteToParcel calls android.hardware.input.HostUsiVersion.writeToParcel.
type Manager ¶
Manager wraps android.hardware.input.InputManager.
func NewManager ¶
NewManager obtains android.hardware.input.InputManager from the Android system service manager.
func (*Manager) Close ¶
func (m *Manager) Close()
Close releases the global reference to the underlying Java object. After Close, the Manager must not be used.
func (*Manager) GetHostUsiVersion ¶
GetHostUsiVersion calls android.hardware.input.InputManager.getHostUsiVersion.
func (*Manager) GetInputDevice ¶
GetInputDevice calls android.hardware.input.InputManager.getInputDevice.
func (*Manager) GetInputDeviceIds ¶
GetInputDeviceIds calls android.hardware.input.InputManager.getInputDeviceIds.
func (*Manager) GetInputDeviceViewBehavior ¶
GetInputDeviceViewBehavior calls android.hardware.input.InputManager.getInputDeviceViewBehavior.
func (*Manager) GetMaximumObscuringOpacityForTouch ¶
GetMaximumObscuringOpacityForTouch calls android.hardware.input.InputManager.getMaximumObscuringOpacityForTouch.
func (*Manager) IsStylusPointerIconEnabled ¶
IsStylusPointerIconEnabled calls android.hardware.input.InputManager.isStylusPointerIconEnabled.
func (*Manager) UnregisterInputDeviceListener ¶
UnregisterInputDeviceListener calls android.hardware.input.InputManager.unregisterInputDeviceListener.
type ManagerInputDeviceListener ¶
ManagerInputDeviceListener wraps android.hardware.input.InputManager$InputDeviceListener.
func (*ManagerInputDeviceListener) OnInputDeviceAdded ¶
func (m *ManagerInputDeviceListener) OnInputDeviceAdded(arg0 int32) error
OnInputDeviceAdded calls android.hardware.input.InputManager$InputDeviceListener.onInputDeviceAdded.
func (*ManagerInputDeviceListener) OnInputDeviceChanged ¶
func (m *ManagerInputDeviceListener) OnInputDeviceChanged(arg0 int32) error
OnInputDeviceChanged calls android.hardware.input.InputManager$InputDeviceListener.onInputDeviceChanged.
func (*ManagerInputDeviceListener) OnInputDeviceRemoved ¶
func (m *ManagerInputDeviceListener) OnInputDeviceRemoved(arg0 int32) error
OnInputDeviceRemoved calls android.hardware.input.InputManager$InputDeviceListener.onInputDeviceRemoved.