[]Struct jni_android_sys::android::bluetooth::le::BluetoothLeAdvertiser

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

public final class BluetoothLeAdvertiser

Required feature: "android-bluetooth-le-BluetoothLeAdvertiser"

Methods

impl BluetoothLeAdvertiser

pub fn startAdvertising_AdvertiseSettings_AdvertiseData_AdvertiseCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdvertiseSettings>>,
    arg1: impl Into<Option<&'env AdvertiseData>>,
    arg2: impl Into<Option<&'env AdvertiseCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

startAdvertising

Required features: "android-bluetooth-le-AdvertiseCallback", "android-bluetooth-le-AdvertiseData", "android-bluetooth-le-AdvertiseSettings"

pub fn startAdvertising_AdvertiseSettings_AdvertiseData_AdvertiseData_AdvertiseCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdvertiseSettings>>,
    arg1: impl Into<Option<&'env AdvertiseData>>,
    arg2: impl Into<Option<&'env AdvertiseData>>,
    arg3: impl Into<Option<&'env AdvertiseCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

startAdvertising

Required features: "android-bluetooth-le-AdvertiseCallback", "android-bluetooth-le-AdvertiseData", "android-bluetooth-le-AdvertiseSettings"

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

stopAdvertising

Required features: "android-bluetooth-le-AdvertiseCallback"

pub fn startAdvertisingSet_AdvertisingSetParameters_AdvertiseData_AdvertiseData_PeriodicAdvertisingParameters_AdvertiseData_AdvertisingSetCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdvertisingSetParameters>>,
    arg1: impl Into<Option<&'env AdvertiseData>>,
    arg2: impl Into<Option<&'env AdvertiseData>>,
    arg3: impl Into<Option<&'env PeriodicAdvertisingParameters>>,
    arg4: impl Into<Option<&'env AdvertiseData>>,
    arg5: impl Into<Option<&'env AdvertisingSetCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

startAdvertisingSet

Required features: "android-bluetooth-le-AdvertiseData", "android-bluetooth-le-AdvertisingSetCallback", "android-bluetooth-le-AdvertisingSetParameters", "android-bluetooth-le-PeriodicAdvertisingParameters"

pub fn startAdvertisingSet_AdvertisingSetParameters_AdvertiseData_AdvertiseData_PeriodicAdvertisingParameters_AdvertiseData_AdvertisingSetCallback_Handler<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdvertisingSetParameters>>,
    arg1: impl Into<Option<&'env AdvertiseData>>,
    arg2: impl Into<Option<&'env AdvertiseData>>,
    arg3: impl Into<Option<&'env PeriodicAdvertisingParameters>>,
    arg4: impl Into<Option<&'env AdvertiseData>>,
    arg5: impl Into<Option<&'env AdvertisingSetCallback>>,
    arg6: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

startAdvertisingSet

Required features: "android-bluetooth-le-AdvertiseData", "android-bluetooth-le-AdvertisingSetCallback", "android-bluetooth-le-AdvertisingSetParameters", "android-bluetooth-le-PeriodicAdvertisingParameters", "android-os-Handler"

pub fn startAdvertisingSet_AdvertisingSetParameters_AdvertiseData_AdvertiseData_PeriodicAdvertisingParameters_AdvertiseData_int_int_AdvertisingSetCallback<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdvertisingSetParameters>>,
    arg1: impl Into<Option<&'env AdvertiseData>>,
    arg2: impl Into<Option<&'env AdvertiseData>>,
    arg3: impl Into<Option<&'env PeriodicAdvertisingParameters>>,
    arg4: impl Into<Option<&'env AdvertiseData>>,
    arg5: i32,
    arg6: i32,
    arg7: impl Into<Option<&'env AdvertisingSetCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]

startAdvertisingSet

Required features: "android-bluetooth-le-AdvertiseData", "android-bluetooth-le-AdvertisingSetCallback", "android-bluetooth-le-AdvertisingSetParameters", "android-bluetooth-le-PeriodicAdvertisingParameters"

pub fn startAdvertisingSet_AdvertisingSetParameters_AdvertiseData_AdvertiseData_PeriodicAdvertisingParameters_AdvertiseData_int_int_AdvertisingSetCallback_Handler<'env>(
    &'env self,
    arg0: impl Into<Option<&'env AdvertisingSetParameters>>,
    arg1: impl Into<Option<&'env AdvertiseData>>,
    arg2: impl Into<Option<&'env AdvertiseData>>,
    arg3: impl Into<Option<&'env PeriodicAdvertisingParameters>>,
    arg4: impl Into<Option<&'env AdvertiseData>>,
    arg5: i32,
    arg6: i32,
    arg7: impl Into<Option<&'env AdvertisingSetCallback>>,
    arg8: impl Into<Option<&'env Handler>>
) -> Result<(), Local<'env, Throwable>>
[src]

startAdvertisingSet

Required features: "android-bluetooth-le-AdvertiseData", "android-bluetooth-le-AdvertisingSetCallback", "android-bluetooth-le-AdvertisingSetParameters", "android-bluetooth-le-PeriodicAdvertisingParameters", "android-os-Handler"

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

stopAdvertisingSet

Required features: "android-bluetooth-le-AdvertisingSetCallback"

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 BluetoothLeAdvertiser

impl AsValidJObjectAndEnv for BluetoothLeAdvertiser

impl Deref for BluetoothLeAdvertiser

type Target = Object

The resulting type after dereferencing.

impl JniType for BluetoothLeAdvertiser

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.