[−]Struct jni_android_sys::android::bluetooth::BluetoothGattCharacteristic
public class BluetoothGattCharacteristic
Required feature: android-bluetooth-BluetoothGattCharacteristic
Methods
impl BluetoothGattCharacteristic
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env UUID>>,
arg1: i32,
arg2: i32
) -> Result<Local<'env, BluetoothGattCharacteristic>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env UUID>>,
arg1: i32,
arg2: i32
) -> Result<Local<'env, BluetoothGattCharacteristic>>
Required features: "java-util-UUID"
pub fn describe_contents<'env>(&'env self) -> Result<i32>[src]
pub fn write_to_parcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<()>
Required features: "android-os-Parcel"
pub fn add_descriptor<'env>(
&'env self,
arg0: impl Into<Option<&'env BluetoothGattDescriptor>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env BluetoothGattDescriptor>>
) -> Result<bool>
Required features: "android-bluetooth-BluetoothGattDescriptor"
pub fn get_service<'env>(
&'env self
) -> Result<Option<Local<'env, BluetoothGattService>>>[src]
&'env self
) -> Result<Option<Local<'env, BluetoothGattService>>>
Required features: "android-bluetooth-BluetoothGattService"
pub fn get_uuid<'env>(&'env self) -> Result<Option<Local<'env, UUID>>>[src]
Required features: "java-util-UUID"
pub fn get_instance_id<'env>(&'env self) -> Result<i32>[src]
pub fn get_properties<'env>(&'env self) -> Result<i32>[src]
pub fn get_permissions<'env>(&'env self) -> Result<i32>[src]
pub fn get_write_type<'env>(&'env self) -> Result<i32>[src]
pub fn set_write_type<'env>(&'env self, arg0: i32) -> Result<()>[src]
pub fn get_descriptors<'env>(&'env self) -> Result<Option<Local<'env, List>>>[src]
Required features: "java-util-List"
pub fn get_descriptor<'env>(
&'env self,
arg0: impl Into<Option<&'env UUID>>
) -> Result<Option<Local<'env, BluetoothGattDescriptor>>>[src]
&'env self,
arg0: impl Into<Option<&'env UUID>>
) -> Result<Option<Local<'env, BluetoothGattDescriptor>>>
Required features: "android-bluetooth-BluetoothGattDescriptor", "java-util-UUID"
pub fn get_value<'env>(&'env self) -> Result<Option<Local<'env, ByteArray>>>[src]
pub fn get_int_value<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Integer>>>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Integer>>>
Required features: "java-lang-Integer"
pub fn get_float_value<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Float>>>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Float>>>
Required features: "java-lang-Float"
pub fn get_string_value<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>>
Required features: "java-lang-String"
pub fn set_value_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<bool>
setValue
pub fn set_value_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<bool>
pub fn set_value_int_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<bool>[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<bool>
pub fn set_value_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool>
Required features: "java-lang-String"
pub const FORMAT_FLOAT: i32[src]
public static final FORMAT_FLOAT
pub const FORMAT_SFLOAT: i32[src]
public static final FORMAT_SFLOAT
pub const FORMAT_SINT16: i32[src]
public static final FORMAT_SINT16
pub const FORMAT_SINT32: i32[src]
public static final FORMAT_SINT32
pub const FORMAT_SINT8: i32[src]
public static final FORMAT_SINT8
pub const FORMAT_UINT16: i32[src]
public static final FORMAT_UINT16
pub const FORMAT_UINT32: i32[src]
public static final FORMAT_UINT32
pub const FORMAT_UINT8: i32[src]
public static final FORMAT_UINT8
pub const PERMISSION_READ: i32[src]
public static final PERMISSION_READ
pub const PERMISSION_READ_ENCRYPTED: i32[src]
public static final PERMISSION_READ_ENCRYPTED
pub const PERMISSION_READ_ENCRYPTED_MITM: i32[src]
public static final PERMISSION_READ_ENCRYPTED_MITM
pub const PERMISSION_WRITE: i32[src]
public static final PERMISSION_WRITE
pub const PERMISSION_WRITE_ENCRYPTED: i32[src]
public static final PERMISSION_WRITE_ENCRYPTED
pub const PERMISSION_WRITE_ENCRYPTED_MITM: i32[src]
public static final PERMISSION_WRITE_ENCRYPTED_MITM
pub const PERMISSION_WRITE_SIGNED: i32[src]
public static final PERMISSION_WRITE_SIGNED
pub const PERMISSION_WRITE_SIGNED_MITM: i32[src]
public static final PERMISSION_WRITE_SIGNED_MITM
pub const PROPERTY_BROADCAST: i32[src]
public static final PROPERTY_BROADCAST
pub const PROPERTY_EXTENDED_PROPS: i32[src]
public static final PROPERTY_EXTENDED_PROPS
pub const PROPERTY_INDICATE: i32[src]
public static final PROPERTY_INDICATE
pub const PROPERTY_NOTIFY: i32[src]
public static final PROPERTY_NOTIFY
pub const PROPERTY_READ: i32[src]
public static final PROPERTY_READ
pub const PROPERTY_SIGNED_WRITE: i32[src]
public static final PROPERTY_SIGNED_WRITE
pub const PROPERTY_WRITE: i32[src]
public static final PROPERTY_WRITE
pub const PROPERTY_WRITE_NO_RESPONSE: i32[src]
public static final PROPERTY_WRITE_NO_RESPONSE
pub const WRITE_TYPE_DEFAULT: i32[src]
public static final WRITE_TYPE_DEFAULT
pub const WRITE_TYPE_NO_RESPONSE: i32[src]
public static final WRITE_TYPE_NO_RESPONSE
pub const WRITE_TYPE_SIGNED: i32[src]
public static final WRITE_TYPE_SIGNED
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]
Required features: "java-lang-Class"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<()>[src]
pub fn notify_all<'env>(&'env self) -> Result<()>[src]
pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]
pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]
pub fn wait<'env>(&'env self) -> Result<()>[src]
Trait Implementations
impl AsRef<Parcelable> for BluetoothGattCharacteristic
fn as_ref(&self) -> &Parcelable
impl Deref for BluetoothGattCharacteristic
impl AsValidJObjectAndEnv for BluetoothGattCharacteristic
impl AsJValue for BluetoothGattCharacteristic
Auto Trait Implementations
impl !Sync for BluetoothGattCharacteristic
impl Unpin for BluetoothGattCharacteristic
impl !Send for BluetoothGattCharacteristic
impl UnwindSafe for BluetoothGattCharacteristic
impl RefUnwindSafe for BluetoothGattCharacteristic
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,