[−]Struct jni_android_sys::android::telephony::SmsManager
public final class SmsManager
Required feature: "android-telephony-SmsManager"
Methods
impl 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]
&'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>>
Required features: "android-app-PendingIntent", "java-lang-String"
pub fn sendTextMessageWithoutPersisting<'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]
&'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>>
sendTextMessageWithoutPersisting
Required features: "android-app-PendingIntent", "java-lang-String"
pub fn injectSmsPdu<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ArrayList>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
Required features: "android-app-PendingIntent", "java-lang-String"
pub fn getDefault<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, SmsManager>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, SmsManager>>, Local<'env, Throwable>>
Required features: "android-telephony-SmsManager"
pub fn getSmsManagerForSubscriptionId<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, SmsManager>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, SmsManager>>, Local<'env, Throwable>>
getSmsManagerForSubscriptionId
Required features: "android-telephony-SmsManager"
pub fn getSubscriptionId<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getDefaultSmsSubscriptionId<'env>(
__jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<i32, Local<'env, Throwable>>
pub fn sendMultimediaMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-net-Uri", "android-os-Bundle", "java-lang-String"
pub fn downloadMultimediaMessage<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: impl Into<Option<&'env PendingIntent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "android-content-Context", "android-net-Uri", "android-os-Bundle", "java-lang-String"
pub fn getCarrierConfigValues<'env>(
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Bundle>>, Local<'env, Throwable>>
Required features: "android-os-Bundle"
pub fn createAppSpecificSmsToken<'env>(
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env PendingIntent>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-app-PendingIntent", "java-lang-String"
pub const EXTRA_MMS_DATA: &'static str
[src]
public static final EXTRA_MMS_DATA
pub const EXTRA_MMS_HTTP_STATUS: &'static str
[src]
public static final EXTRA_MMS_HTTP_STATUS
pub const MMS_CONFIG_ALIAS_ENABLED: &'static str
[src]
public static final MMS_CONFIG_ALIAS_ENABLED
pub const MMS_CONFIG_ALIAS_MAX_CHARS: &'static str
[src]
public static final MMS_CONFIG_ALIAS_MAX_CHARS
pub const MMS_CONFIG_ALIAS_MIN_CHARS: &'static str
[src]
public static final MMS_CONFIG_ALIAS_MIN_CHARS
pub const MMS_CONFIG_ALLOW_ATTACH_AUDIO: &'static str
[src]
public static final MMS_CONFIG_ALLOW_ATTACH_AUDIO
pub const MMS_CONFIG_APPEND_TRANSACTION_ID: &'static str
[src]
public static final MMS_CONFIG_APPEND_TRANSACTION_ID
pub const MMS_CONFIG_EMAIL_GATEWAY_NUMBER: &'static str
[src]
public static final MMS_CONFIG_EMAIL_GATEWAY_NUMBER
pub const MMS_CONFIG_GROUP_MMS_ENABLED: &'static str
[src]
public static final MMS_CONFIG_GROUP_MMS_ENABLED
pub const MMS_CONFIG_HTTP_PARAMS: &'static str
[src]
public static final MMS_CONFIG_HTTP_PARAMS
pub const MMS_CONFIG_HTTP_SOCKET_TIMEOUT: &'static str
[src]
public static final MMS_CONFIG_HTTP_SOCKET_TIMEOUT
pub const MMS_CONFIG_MAX_IMAGE_HEIGHT: &'static str
[src]
public static final MMS_CONFIG_MAX_IMAGE_HEIGHT
pub const MMS_CONFIG_MAX_IMAGE_WIDTH: &'static str
[src]
public static final MMS_CONFIG_MAX_IMAGE_WIDTH
pub const MMS_CONFIG_MAX_MESSAGE_SIZE: &'static str
[src]
public static final MMS_CONFIG_MAX_MESSAGE_SIZE
pub const MMS_CONFIG_MESSAGE_TEXT_MAX_SIZE: &'static str
[src]
public static final MMS_CONFIG_MESSAGE_TEXT_MAX_SIZE
pub const MMS_CONFIG_MMS_DELIVERY_REPORT_ENABLED: &'static str
[src]
public static final MMS_CONFIG_MMS_DELIVERY_REPORT_ENABLED
pub const MMS_CONFIG_MMS_ENABLED: &'static str
[src]
public static final MMS_CONFIG_MMS_ENABLED
pub const MMS_CONFIG_MMS_READ_REPORT_ENABLED: &'static str
[src]
public static final MMS_CONFIG_MMS_READ_REPORT_ENABLED
pub const MMS_CONFIG_MULTIPART_SMS_ENABLED: &'static str
[src]
public static final MMS_CONFIG_MULTIPART_SMS_ENABLED
pub const MMS_CONFIG_NAI_SUFFIX: &'static str
[src]
public static final MMS_CONFIG_NAI_SUFFIX
pub const MMS_CONFIG_NOTIFY_WAP_MMSC_ENABLED: &'static str
[src]
public static final MMS_CONFIG_NOTIFY_WAP_MMSC_ENABLED
pub const MMS_CONFIG_RECIPIENT_LIMIT: &'static str
[src]
public static final MMS_CONFIG_RECIPIENT_LIMIT
pub const MMS_CONFIG_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES: &'static str
[src]
public static final MMS_CONFIG_SEND_MULTIPART_SMS_AS_SEPARATE_MESSAGES
pub const MMS_CONFIG_SHOW_CELL_BROADCAST_APP_LINKS: &'static str
[src]
public static final MMS_CONFIG_SHOW_CELL_BROADCAST_APP_LINKS
pub const MMS_CONFIG_SMS_DELIVERY_REPORT_ENABLED: &'static str
[src]
public static final MMS_CONFIG_SMS_DELIVERY_REPORT_ENABLED
pub const MMS_CONFIG_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD: &'static str
[src]
public static final MMS_CONFIG_SMS_TO_MMS_TEXT_LENGTH_THRESHOLD
pub const MMS_CONFIG_SMS_TO_MMS_TEXT_THRESHOLD: &'static str
[src]
public static final MMS_CONFIG_SMS_TO_MMS_TEXT_THRESHOLD
pub const MMS_CONFIG_SUBJECT_MAX_LENGTH: &'static str
[src]
public static final MMS_CONFIG_SUBJECT_MAX_LENGTH
pub const MMS_CONFIG_SUPPORT_HTTP_CHARSET_HEADER: &'static str
[src]
public static final MMS_CONFIG_SUPPORT_HTTP_CHARSET_HEADER
pub const MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION: &'static str
[src]
public static final MMS_CONFIG_SUPPORT_MMS_CONTENT_DISPOSITION
pub const MMS_CONFIG_UA_PROF_TAG_NAME: &'static str
[src]
public static final MMS_CONFIG_UA_PROF_TAG_NAME
pub const MMS_CONFIG_UA_PROF_URL: &'static str
[src]
public static final MMS_CONFIG_UA_PROF_URL
pub const MMS_CONFIG_USER_AGENT: &'static str
[src]
public static final MMS_CONFIG_USER_AGENT
pub const MMS_ERROR_CONFIGURATION_ERROR: i32
[src]
public static final MMS_ERROR_CONFIGURATION_ERROR
pub const MMS_ERROR_HTTP_FAILURE: i32
[src]
public static final MMS_ERROR_HTTP_FAILURE
pub const MMS_ERROR_INVALID_APN: i32
[src]
public static final MMS_ERROR_INVALID_APN
pub const MMS_ERROR_IO_ERROR: i32
[src]
public static final MMS_ERROR_IO_ERROR
pub const MMS_ERROR_NO_DATA_NETWORK: i32
[src]
public static final MMS_ERROR_NO_DATA_NETWORK
pub const MMS_ERROR_RETRY: i32
[src]
public static final MMS_ERROR_RETRY
pub const MMS_ERROR_UNABLE_CONNECT_MMS: i32
[src]
public static final MMS_ERROR_UNABLE_CONNECT_MMS
pub const MMS_ERROR_UNSPECIFIED: i32
[src]
public static final MMS_ERROR_UNSPECIFIED
pub const RESULT_ERROR_GENERIC_FAILURE: i32
[src]
public static final RESULT_ERROR_GENERIC_FAILURE
pub const RESULT_ERROR_LIMIT_EXCEEDED: i32
[src]
public static final RESULT_ERROR_LIMIT_EXCEEDED
pub const RESULT_ERROR_NO_SERVICE: i32
[src]
public static final RESULT_ERROR_NO_SERVICE
pub const RESULT_ERROR_NULL_PDU: i32
[src]
public static final RESULT_ERROR_NULL_PDU
pub const RESULT_ERROR_RADIO_OFF: i32
[src]
public static final RESULT_ERROR_RADIO_OFF
pub const RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED: i32
[src]
public static final RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED
pub const RESULT_ERROR_SHORT_CODE_NOT_ALLOWED: i32
[src]
public static final RESULT_ERROR_SHORT_CODE_NOT_ALLOWED
pub const STATUS_ON_ICC_FREE: i32
[src]
public static final STATUS_ON_ICC_FREE
pub const STATUS_ON_ICC_READ: i32
[src]
public static final STATUS_ON_ICC_READ
pub const STATUS_ON_ICC_SENT: i32
[src]
public static final STATUS_ON_ICC_SENT
pub const STATUS_ON_ICC_UNREAD: i32
[src]
public static final STATUS_ON_ICC_UNREAD
pub const STATUS_ON_ICC_UNSENT: i32
[src]
public static final STATUS_ON_ICC_UNSENT
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 SmsManager
impl AsValidJObjectAndEnv for SmsManager
impl Deref for SmsManager
impl JniType for SmsManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SmsManager
impl !Send for SmsManager
impl !Sync for SmsManager
impl Unpin for SmsManager
impl UnwindSafe for SmsManager
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>,