[−]Struct jni_android_sys::android::bluetooth::BluetoothProfile
public interface BluetoothProfile
Required feature: "android-bluetooth-BluetoothProfile"
Methods
impl BluetoothProfile
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 const A2DP: i32
[src]
public static final A2DP
pub const EXTRA_PREVIOUS_STATE: &'static str
[src]
public static final EXTRA_PREVIOUS_STATE
pub const EXTRA_STATE: &'static str
[src]
public static final EXTRA_STATE
pub const GATT: i32
[src]
public static final GATT
pub const GATT_SERVER: i32
[src]
public static final GATT_SERVER
pub const HEADSET: i32
[src]
public static final HEADSET
pub const HEALTH: i32
[src]
public static final HEALTH
pub const HID_DEVICE: i32
[src]
public static final HID_DEVICE
pub const SAP: i32
[src]
public static final SAP
pub const STATE_CONNECTED: i32
[src]
public static final STATE_CONNECTED
pub const STATE_CONNECTING: i32
[src]
public static final STATE_CONNECTING
pub const STATE_DISCONNECTED: i32
[src]
public static final STATE_DISCONNECTED
pub const STATE_DISCONNECTING: i32
[src]
public static final STATE_DISCONNECTING
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 BluetoothProfile
impl AsRef<BluetoothProfile> for BluetoothA2dp
fn as_ref(&self) -> &BluetoothProfile
impl AsRef<BluetoothProfile> for BluetoothGatt
fn as_ref(&self) -> &BluetoothProfile
impl AsRef<BluetoothProfile> for BluetoothGattServer
fn as_ref(&self) -> &BluetoothProfile
impl AsRef<BluetoothProfile> for BluetoothHeadset
fn as_ref(&self) -> &BluetoothProfile
impl AsRef<BluetoothProfile> for BluetoothHealth
fn as_ref(&self) -> &BluetoothProfile
impl AsRef<BluetoothProfile> for BluetoothHidDevice
fn as_ref(&self) -> &BluetoothProfile
impl AsValidJObjectAndEnv for BluetoothProfile
impl Deref for BluetoothProfile
impl JniType for BluetoothProfile
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for BluetoothProfile
impl !Send for BluetoothProfile
impl !Sync for BluetoothProfile
impl Unpin for BluetoothProfile
impl UnwindSafe for BluetoothProfile
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>,