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

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

public class SmsMessage

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

Methods

impl SmsMessage

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

Deprecated

pub fn createFromPdu<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ByteArray>>
) -> Result<Option<Local<'env, SmsMessage>>, Local<'env, Throwable>>
[src]

Deprecated

createFromPdu

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

pub fn getTPLayerLengthForPDU<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

getTPLayerLengthForPDU

Required features: "java-lang-String"

pub fn calculateLength_CharSequence_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: bool
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]

Deprecated

calculateLength

Required features: "java-lang-CharSequence"

pub fn calculateLength_String_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: bool
) -> Result<Option<Local<'env, IntArray>>, Local<'env, Throwable>>
[src]

Deprecated

calculateLength

Required features: "java-lang-String"

pub fn getSubmitPdu_String_String_String_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: bool
) -> Result<Option<Local<'env, SmsMessage_SubmitPdu>>, Local<'env, Throwable>>
[src]

Deprecated

getSubmitPdu

Required features: "android-telephony-gsm-SmsMessage_SubmitPdu", "java-lang-String"

pub fn getSubmitPdu_String_String_short_byte_array_boolean<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: i16,
    arg3: impl Into<Option<&'env ByteArray>>,
    arg4: bool
) -> Result<Option<Local<'env, SmsMessage_SubmitPdu>>, Local<'env, Throwable>>
[src]

Deprecated

getSubmitPdu

Required features: "android-telephony-gsm-SmsMessage_SubmitPdu", "java-lang-String"

pub fn getServiceCenterAddress<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getServiceCenterAddress

Required features: "java-lang-String"

pub fn getOriginatingAddress<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getOriginatingAddress

Required features: "java-lang-String"

pub fn getDisplayOriginatingAddress<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getDisplayOriginatingAddress

Required features: "java-lang-String"

pub fn getMessageBody<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getMessageBody

Required features: "java-lang-String"

pub fn getMessageClass<'env>(
    &'env self
) -> Result<Option<Local<'env, SmsMessage_MessageClass>>, Local<'env, Throwable>>
[src]

Deprecated

getMessageClass

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

pub fn getDisplayMessageBody<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getDisplayMessageBody

Required features: "java-lang-String"

pub fn getPseudoSubject<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getPseudoSubject

Required features: "java-lang-String"

pub fn getTimestampMillis<'env>(
    &'env self
) -> Result<i64, Local<'env, Throwable>>
[src]

Deprecated

pub fn isEmail<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

Deprecated

pub fn getEmailBody<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getEmailBody

Required features: "java-lang-String"

pub fn getEmailFrom<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

Deprecated

getEmailFrom

Required features: "java-lang-String"

pub fn getProtocolIdentifier<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn isReplace<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

Deprecated

pub fn isCphsMwiMessage<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn isMWIClearMessage<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn isMWISetMessage<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

Deprecated

pub fn isMwiDontStore<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

Deprecated

pub fn getUserData<'env>(
    &'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

Deprecated

pub fn getPdu<'env>(
    &'env self
) -> Result<Option<Local<'env, ByteArray>>, Local<'env, Throwable>>
[src]

Deprecated

pub fn getStatusOnSim<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

Deprecated

pub fn getIndexOnSim<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

Deprecated

pub fn getStatus<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

Deprecated

pub fn isStatusReportMessage<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub fn isReplyPathPresent<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

Deprecated

pub const ENCODING_16BIT: i32[src]

Deprecated

public static final ENCODING_16BIT

pub const ENCODING_7BIT: i32[src]

Deprecated

public static final ENCODING_7BIT

pub const ENCODING_8BIT: i32[src]

Deprecated

public static final ENCODING_8BIT

pub const ENCODING_UNKNOWN: i32[src]

Deprecated

public static final ENCODING_UNKNOWN

pub const MAX_USER_DATA_BYTES: i32[src]

Deprecated

public static final MAX_USER_DATA_BYTES

pub const MAX_USER_DATA_SEPTETS: i32[src]

Deprecated

public static final MAX_USER_DATA_SEPTETS

pub const MAX_USER_DATA_SEPTETS_WITH_HEADER: i32[src]

Deprecated

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 SmsMessage

impl AsValidJObjectAndEnv for SmsMessage

impl Deref for SmsMessage

type Target = Object

The resulting type after dereferencing.

impl JniType for SmsMessage

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.