[−]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>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env UUID>>,
arg1: i32,
arg2: i32
) -> Result<Local<'env, BluetoothGattCharacteristic>, Local<'env, Throwable>>
Required features: "java-util-UUID"
pub fn describeContents<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn writeToParcel<'env>(
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Parcel>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-Parcel"
pub fn addDescriptor<'env>(
&'env self,
arg0: impl Into<Option<&'env BluetoothGattDescriptor>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BluetoothGattDescriptor>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-bluetooth-BluetoothGattDescriptor"
pub fn getService<'env>(
&'env self
) -> Result<Option<Local<'env, BluetoothGattService>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, BluetoothGattService>>, Local<'env, Throwable>>
Required features: "android-bluetooth-BluetoothGattService"
pub fn getUuid<'env>(
&'env self
) -> Result<Option<Local<'env, UUID>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, UUID>>, Local<'env, Throwable>>
Required features: "java-util-UUID"
pub fn getInstanceId<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getProperties<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getPermissions<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn getWriteType<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn setWriteType<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getDescriptors<'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 getDescriptor<'env>(
&'env self,
arg0: impl Into<Option<&'env UUID>>
) -> Result<Option<Local<'env, BluetoothGattDescriptor>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env UUID>>
) -> Result<Option<Local<'env, BluetoothGattDescriptor>>, Local<'env, Throwable>>
Required features: "android-bluetooth-BluetoothGattDescriptor", "java-util-UUID"
pub fn getValue<'env>(
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
pub fn getIntValue<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Integer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Integer>>, Local<'env, Throwable>>
Required features: "java-lang-Integer"
pub fn getFloatValue<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Float>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, Float>>, Local<'env, Throwable>>
Required features: "java-lang-Float"
pub fn getStringValue<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setValue_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<bool, Local<'env, Throwable>>
pub fn setValue_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn setValue_int_int_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn setValue_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>
[src]
get public static final CREATOR
Required feature: "android-os-Parcelable_Creator"
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 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 BluetoothGattCharacteristic
impl AsRef<Parcelable> for BluetoothGattCharacteristic
fn as_ref(&self) -> &Parcelable
impl AsValidJObjectAndEnv for BluetoothGattCharacteristic
impl Deref for BluetoothGattCharacteristic
impl JniType for BluetoothGattCharacteristic
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for BluetoothGattCharacteristic
impl !Send for BluetoothGattCharacteristic
impl !Sync for BluetoothGattCharacteristic
impl Unpin for BluetoothGattCharacteristic
impl UnwindSafe for BluetoothGattCharacteristic
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>,