[−]Struct jni_android_sys::android::bluetooth::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]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
getDevicesMatchingConnectionStates
Required features: "java-util-List"
pub fn getConnectionState<'env>(
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<i32, Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>,
arg1: i32,
arg2: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>,
arg1: i8,
arg2: i8,
arg3: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>,
arg1: i8
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-bluetooth-BluetoothDevice"
pub fn connect<'env>(
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-bluetooth-BluetoothDevice"
pub fn disconnect<'env>(
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BluetoothDevice>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for BluetoothHidDevice
impl AsRef<BluetoothProfile> for BluetoothHidDevice
fn as_ref(&self) -> &BluetoothProfile
impl AsValidJObjectAndEnv for BluetoothHidDevice
impl Deref for BluetoothHidDevice
impl JniType for BluetoothHidDevice
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for BluetoothHidDevice
impl !Send for BluetoothHidDevice
impl !Sync for BluetoothHidDevice
impl Unpin for BluetoothHidDevice
impl UnwindSafe for BluetoothHidDevice
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,