[]Struct jni_android_sys::android::bluetooth::BluetoothHidDevice

#[repr(transparent)]
pub struct BluetoothHidDevice(_);

public final class BluetoothHidDevice

Required feature: "android-bluetooth-BluetoothHidDevice"

Methods

impl BluetoothHidDevice

pub fn getConnectedDevices<'env>(
    &'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getConnectedDevices

Required features: "java-util-List"

pub fn getDevicesMatchingConnectionStates<'env>(
    &'env self,
    arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

getDevicesMatchingConnectionStates

Required features: "java-util-List"

pub fn getConnectionState<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<i32, Local<'env, Throwable>>
[src]

getConnectionState

Required features: "android-bluetooth-BluetoothDevice"

pub fn registerApp<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BluetoothHidDeviceAppSdpSettings>>,
    arg1: impl Into<Option<&'env BluetoothHidDeviceAppQosSettings>>,
    arg2: impl Into<Option<&'env BluetoothHidDeviceAppQosSettings>>,
    arg3: impl Into<Option<&'env Executor>>,
    arg4: impl Into<Option<&'env BluetoothHidDevice_Callback>>
) -> Result<bool, Local<'env, Throwable>>
[src]

registerApp

Required features: "android-bluetooth-BluetoothHidDeviceAppQosSettings", "android-bluetooth-BluetoothHidDeviceAppSdpSettings", "android-bluetooth-BluetoothHidDevice_Callback", "java-util-concurrent-Executor"

pub fn unregisterApp<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn sendReport<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BluetoothDevice>>,
    arg1: i32,
    arg2: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]

sendReport

Required features: "android-bluetooth-BluetoothDevice"

pub fn replyReport<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BluetoothDevice>>,
    arg1: i8,
    arg2: i8,
    arg3: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]

replyReport

Required features: "android-bluetooth-BluetoothDevice"

pub fn reportError<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BluetoothDevice>>,
    arg1: i8
) -> Result<bool, Local<'env, Throwable>>
[src]

reportError

Required features: "android-bluetooth-BluetoothDevice"

pub fn connect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<bool, Local<'env, Throwable>>
[src]

connect

Required features: "android-bluetooth-BluetoothDevice"

pub fn disconnect<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<bool, Local<'env, Throwable>>
[src]

disconnect

Required features: "android-bluetooth-BluetoothDevice"

pub const ACTION_CONNECTION_STATE_CHANGED: &'static str[src]

public static final ACTION_CONNECTION_STATE_CHANGED

pub const ERROR_RSP_INVALID_PARAM: i8[src]

public static final ERROR_RSP_INVALID_PARAM

pub const ERROR_RSP_INVALID_RPT_ID: i8[src]

public static final ERROR_RSP_INVALID_RPT_ID

pub const ERROR_RSP_NOT_READY: i8[src]

public static final ERROR_RSP_NOT_READY

pub const ERROR_RSP_SUCCESS: i8[src]

public static final ERROR_RSP_SUCCESS

pub const ERROR_RSP_UNKNOWN: i8[src]

public static final ERROR_RSP_UNKNOWN

pub const ERROR_RSP_UNSUPPORTED_REQ: i8[src]

public static final ERROR_RSP_UNSUPPORTED_REQ

pub const PROTOCOL_BOOT_MODE: i8[src]

public static final PROTOCOL_BOOT_MODE

pub const PROTOCOL_REPORT_MODE: i8[src]

public static final PROTOCOL_REPORT_MODE

pub const REPORT_TYPE_FEATURE: i8[src]

public static final REPORT_TYPE_FEATURE

pub const REPORT_TYPE_INPUT: i8[src]

public static final REPORT_TYPE_INPUT

pub const REPORT_TYPE_OUTPUT: i8[src]

public static final REPORT_TYPE_OUTPUT

pub const SUBCLASS1_COMBO: i8[src]

public static final SUBCLASS1_COMBO

pub const SUBCLASS1_KEYBOARD: i8[src]

public static final SUBCLASS1_KEYBOARD

pub const SUBCLASS1_MOUSE: i8[src]

public static final SUBCLASS1_MOUSE

pub const SUBCLASS1_NONE: i8[src]

public static final SUBCLASS1_NONE

pub const SUBCLASS2_CARD_READER: i8[src]

public static final SUBCLASS2_CARD_READER

pub const SUBCLASS2_DIGITIZER_TABLET: i8[src]

public static final SUBCLASS2_DIGITIZER_TABLET

pub const SUBCLASS2_GAMEPAD: i8[src]

public static final SUBCLASS2_GAMEPAD

pub const SUBCLASS2_JOYSTICK: i8[src]

public static final SUBCLASS2_JOYSTICK

pub const SUBCLASS2_REMOTE_CONTROL: i8[src]

public static final SUBCLASS2_REMOTE_CONTROL

pub const SUBCLASS2_SENSING_DEVICE: i8[src]

public static final SUBCLASS2_SENSING_DEVICE

pub const SUBCLASS2_UNCATEGORIZED: i8[src]

public static final SUBCLASS2_UNCATEGORIZED

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for BluetoothHidDevice

impl AsRef<BluetoothProfile> for BluetoothHidDevice

impl AsValidJObjectAndEnv for BluetoothHidDevice

impl Deref for BluetoothHidDevice

type Target = Object

The resulting type after dereferencing.

impl JniType for BluetoothHidDevice

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.