[−]Struct jni_android_sys::android::service::carrier::CarrierMessagingService
public class CarrierMessagingService
Required feature: "android-service-carrier-CarrierMessagingService"
Methods
impl CarrierMessagingService
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, CarrierMessagingService>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, CarrierMessagingService>, Local<'env, Throwable>>
pub fn onFilterSms<'env>(
&'env self,
arg0: impl Into<Option<&'env MessagePdu>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MessagePdu>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-carrier-CarrierMessagingService_ResultCallback", "android-service-carrier-MessagePdu", "java-lang-String"
pub fn onReceiveTextSms<'env>(
&'env self,
arg0: impl Into<Option<&'env MessagePdu>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MessagePdu>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-carrier-CarrierMessagingService_ResultCallback", "android-service-carrier-MessagePdu", "java-lang-String"
pub fn onSendTextSms_String_int_String_ResultCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-carrier-CarrierMessagingService_ResultCallback", "java-lang-String"
pub fn onSendTextSms_String_int_String_int_ResultCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-carrier-CarrierMessagingService_ResultCallback", "java-lang-String"
pub fn onSendDataSms_byte_array_int_String_int_ResultCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-carrier-CarrierMessagingService_ResultCallback", "java-lang-String"
pub fn onSendDataSms_byte_array_int_String_int_int_ResultCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-carrier-CarrierMessagingService_ResultCallback", "java-lang-String"
pub fn onSendMultipartTextSms_List_int_String_ResultCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-carrier-CarrierMessagingService_ResultCallback", "java-lang-String", "java-util-List"
pub fn onSendMultipartTextSms_List_int_String_int_ResultCallback<'env>(
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env List>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-service-carrier-CarrierMessagingService_ResultCallback", "java-lang-String", "java-util-List"
pub fn onSendMms<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "android-service-carrier-CarrierMessagingService_ResultCallback"
pub fn onDownloadMms<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env Uri>>,
arg3: impl Into<Option<&'env CarrierMessagingService_ResultCallback>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "android-service-carrier-CarrierMessagingService_ResultCallback"
pub fn onBind<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, IBinder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, IBinder>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-IBinder"
pub const DOWNLOAD_STATUS_ERROR: i32
[src]
public static final DOWNLOAD_STATUS_ERROR
pub const DOWNLOAD_STATUS_OK: i32
[src]
public static final DOWNLOAD_STATUS_OK
pub const DOWNLOAD_STATUS_RETRY_ON_CARRIER_NETWORK: i32
[src]
public static final DOWNLOAD_STATUS_RETRY_ON_CARRIER_NETWORK
pub const RECEIVE_OPTIONS_DEFAULT: i32
[src]
public static final RECEIVE_OPTIONS_DEFAULT
pub const RECEIVE_OPTIONS_DROP: i32
[src]
public static final RECEIVE_OPTIONS_DROP
pub const RECEIVE_OPTIONS_SKIP_NOTIFY_WHEN_CREDENTIAL_PROTECTED_STORAGE_UNAVAILABLE: i32
[src]
public static final RECEIVE_OPTIONS_SKIP_NOTIFY_WHEN_CREDENTIAL_PROTECTED_STORAGE_UNAVAILABLE
pub const SEND_FLAG_REQUEST_DELIVERY_STATUS: i32
[src]
public static final SEND_FLAG_REQUEST_DELIVERY_STATUS
pub const SEND_STATUS_ERROR: i32
[src]
public static final SEND_STATUS_ERROR
pub const SEND_STATUS_OK: i32
[src]
public static final SEND_STATUS_OK
pub const SEND_STATUS_RETRY_ON_CARRIER_NETWORK: i32
[src]
public static final SEND_STATUS_RETRY_ON_CARRIER_NETWORK
pub const SERVICE_INTERFACE: &'static str
[src]
public static final SERVICE_INTERFACE
Methods from Deref<Target = Service>
pub fn getApplication<'env>(
&'env self
) -> Result<Option<Local<'env, Application>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Application>>, Local<'env, Throwable>>
Required features: "android-app-Application"
pub fn onCreate<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onStart<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn onStartCommand<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32,
arg2: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: i32,
arg2: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn onDestroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onConfigurationChanged<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-res-Configuration"
pub fn onLowMemory<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onTrimMemory<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn onBind<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, IBinder>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, IBinder>>, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-IBinder"
pub fn onUnbind<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn onRebind<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn onTaskRemoved<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn stopSelf<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn stopSelf_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn stopSelfResult<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn startForeground<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Notification>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env Notification>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-Notification"
pub fn stopForeground_boolean<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn stopForeground_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub const START_CONTINUATION_MASK: i32
[src]
pub const START_FLAG_REDELIVERY: i32
[src]
pub const START_FLAG_RETRY: i32
[src]
pub const START_NOT_STICKY: i32
[src]
pub const START_REDELIVER_INTENT: i32
[src]
pub const START_STICKY: i32
[src]
pub const START_STICKY_COMPATIBILITY: i32
[src]
pub const STOP_FOREGROUND_DETACH: i32
[src]
pub const STOP_FOREGROUND_REMOVE: i32
[src]
Trait Implementations
impl AsJValue for CarrierMessagingService
impl AsValidJObjectAndEnv for CarrierMessagingService
impl Deref for CarrierMessagingService
impl JniType for CarrierMessagingService
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for CarrierMessagingService
impl !Send for CarrierMessagingService
impl !Sync for CarrierMessagingService
impl Unpin for CarrierMessagingService
impl UnwindSafe for CarrierMessagingService
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>,