[]Struct jni_android_sys::android::telephony::gsm::SmsManager

#[repr(transparent)]
pub struct SmsManager(_);
Deprecated

public final class SmsManager

Required feature: "android-telephony-gsm-SmsManager"

Methods

impl SmsManager

pub fn getDefault<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, SmsManager>>, Local<'env, Throwable>>
[src]

Deprecated

getDefault

Required features: "android-telephony-gsm-SmsManager"

pub fn sendTextMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env PendingIntent>>,
    arg4: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

sendTextMessage

Required features: "android-app-PendingIntent", "java-lang-String"

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

Deprecated

divideMessage

Required features: "java-lang-String", "java-util-ArrayList"

pub fn sendMultipartTextMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env ArrayList>>,
    arg3: impl Into<Option<&'env ArrayList>>,
    arg4: impl Into<Option<&'env ArrayList>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

sendMultipartTextMessage

Required features: "java-lang-String", "java-util-ArrayList"

pub fn sendDataMessage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: i16,
    arg3: impl Into<Option<&'env ByteArray>>,
    arg4: impl Into<Option<&'env PendingIntent>>,
    arg5: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

sendDataMessage

Required features: "android-app-PendingIntent", "java-lang-String"

pub const RESULT_ERROR_GENERIC_FAILURE: i32[src]

Deprecated

public static final RESULT_ERROR_GENERIC_FAILURE

pub const RESULT_ERROR_NO_SERVICE: i32[src]

Deprecated

public static final RESULT_ERROR_NO_SERVICE

pub const RESULT_ERROR_NULL_PDU: i32[src]

Deprecated

public static final RESULT_ERROR_NULL_PDU

pub const RESULT_ERROR_RADIO_OFF: i32[src]

Deprecated

public static final RESULT_ERROR_RADIO_OFF

pub const STATUS_ON_SIM_FREE: i32[src]

Deprecated

public static final STATUS_ON_SIM_FREE

pub const STATUS_ON_SIM_READ: i32[src]

Deprecated

public static final STATUS_ON_SIM_READ

pub const STATUS_ON_SIM_SENT: i32[src]

Deprecated

public static final STATUS_ON_SIM_SENT

pub const STATUS_ON_SIM_UNREAD: i32[src]

Deprecated

public static final STATUS_ON_SIM_UNREAD

pub const STATUS_ON_SIM_UNSENT: i32[src]

Deprecated

public static final STATUS_ON_SIM_UNSENT

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 SmsManager

impl AsValidJObjectAndEnv for SmsManager

impl Deref for SmsManager

type Target = Object

The resulting type after dereferencing.

impl JniType for SmsManager

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.