[−]Struct jni_android_sys::android::content::ContextWrapper
public class ContextWrapper
Required feature: "android-content-ContextWrapper"
Methods
impl ContextWrapper
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ContextWrapper>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Context>>
) -> Result<Local<'env, ContextWrapper>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getBaseContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn getAssets<'env>(
&'env self
) -> Result<Option<Local<'env, AssetManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, AssetManager>>, Local<'env, Throwable>>
Required features: "android-content-res-AssetManager"
pub fn getResources<'env>(
&'env self
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources"
pub fn getPackageManager<'env>(
&'env self
) -> Result<Option<Local<'env, PackageManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PackageManager>>, Local<'env, Throwable>>
Required features: "android-content-pm-PackageManager"
pub fn getContentResolver<'env>(
&'env self
) -> Result<Option<Local<'env, ContentResolver>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ContentResolver>>, Local<'env, Throwable>>
Required features: "android-content-ContentResolver"
pub fn getMainLooper<'env>(
&'env self
) -> Result<Option<Local<'env, Looper>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Looper>>, Local<'env, Throwable>>
Required features: "android-os-Looper"
pub fn getMainExecutor<'env>(
&'env self
) -> Result<Option<Local<'env, Executor>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Executor>>, Local<'env, Throwable>>
Required features: "java-util-concurrent-Executor"
pub fn getApplicationContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn setTheme<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getTheme<'env>(
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources_Theme"
pub fn getClassLoader<'env>(
&'env self
) -> Result<Option<Local<'env, ClassLoader>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ClassLoader>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader"
pub fn getPackageName<'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 getApplicationInfo<'env>(
&'env self
) -> Result<Option<Local<'env, ApplicationInfo>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ApplicationInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo"
pub fn getPackageResourcePath<'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 getPackageCodePath<'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 getSharedPreferences<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, SharedPreferences>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, SharedPreferences>>, Local<'env, Throwable>>
Required features: "android-content-SharedPreferences", "java-lang-String"
pub fn moveSharedPreferencesFrom<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn deleteSharedPreferences<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn openFileInput<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FileInputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FileInputStream>>, Local<'env, Throwable>>
Required features: "java-io-FileInputStream", "java-lang-String"
pub fn openFileOutput<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, FileOutputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, FileOutputStream>>, Local<'env, Throwable>>
Required features: "java-io-FileOutputStream", "java-lang-String"
pub fn deleteFile<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getFileStreamPath<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn fileList<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getDataDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getFilesDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getNoBackupFilesDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getExternalFilesDir<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn getExternalFilesDirs<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn getObbDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getObbDirs<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getCacheDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getCodeCacheDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getExternalCacheDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getExternalCacheDirs<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getExternalMediaDirs<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getDir<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn openOrCreateDatabase_String_int_CursorFactory<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn openOrCreateDatabase_String_int_CursorFactory_DatabaseErrorHandler<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-DatabaseErrorHandler", "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn moveDatabaseFrom<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn deleteDatabase<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getDatabasePath<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn databaseList<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getWallpaper<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn peekWallpaper<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn getWallpaperDesiredMinimumWidth<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getWallpaperDesiredMinimumHeight<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setWallpaper_Bitmap<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn setWallpaper_InputStream<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn clearWallpaper<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn startActivity_Intent<'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 startActivity_Intent_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn startActivities_Intent_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn startActivities_Intent_array_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn startIntentSender_IntentSender_Intent_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-IntentSender"
pub fn startIntentSender_IntentSender_Intent_int_int_int_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"
pub fn sendBroadcast_Intent<'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 sendBroadcast_Intent_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "java-lang-String"
pub fn sendOrderedBroadcast_Intent_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "java-lang-String"
pub fn sendOrderedBroadcast_Intent_String_BroadcastReceiver_Handler_int_String_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn sendBroadcastAsUser_Intent_UserHandle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn sendBroadcastAsUser_Intent_UserHandle_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-UserHandle", "java-lang-String"
pub fn sendOrderedBroadcastAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env BroadcastReceiver>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: i32,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env BroadcastReceiver>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: i32,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "android-os-UserHandle", "java-lang-String"
pub fn sendStickyBroadcast<'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 sendStickyOrderedBroadcast<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env BroadcastReceiver>>,
arg2: impl Into<Option<&'env Handler>>,
arg3: i32,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env BroadcastReceiver>>,
arg2: impl Into<Option<&'env Handler>>,
arg3: i32,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn removeStickyBroadcast<'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 sendStickyBroadcastAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn sendStickyOrderedBroadcastAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
sendStickyOrderedBroadcastAsUser
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "android-os-UserHandle", "java-lang-String"
pub fn removeStickyBroadcastAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn registerReceiver_BroadcastReceiver_IntentFilter<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter"
pub fn registerReceiver_BroadcastReceiver_IntentFilter_int<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter"
pub fn registerReceiver_BroadcastReceiver_IntentFilter_String_Handler<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter", "android-os-Handler", "java-lang-String"
pub fn registerReceiver_BroadcastReceiver_IntentFilter_String_Handler_int<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter", "android-os-Handler", "java-lang-String"
pub fn unregisterReceiver<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver"
pub fn startService<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn startForegroundService<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn stopService<'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 bindService<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env ServiceConnection>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env ServiceConnection>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-ServiceConnection"
pub fn unbindService<'env>(
&'env self,
arg0: impl Into<Option<&'env ServiceConnection>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ServiceConnection>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ServiceConnection"
pub fn startInstrumentation<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"
pub fn getSystemService<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String"
pub fn getSystemServiceName<'env>(
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-String"
pub fn checkPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn checkCallingPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn checkCallingOrSelfPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn checkSelfPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn enforcePermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn enforceCallingPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn enforceCallingOrSelfPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
enforceCallingOrSelfPermission
Required features: "java-lang-String"
pub fn grantUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn revokeUriPermission_Uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn revokeUriPermission_String_Uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn checkUriPermission_Uri_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn checkCallingUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn checkCallingOrSelfUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
checkCallingOrSelfUriPermission
Required features: "android-net-Uri"
pub fn checkUriPermission_Uri_String_String_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforceUriPermission_Uri_int_int_int_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforceCallingUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforceCallingOrSelfUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
enforceCallingOrSelfUriPermission
Required features: "android-net-Uri", "java-lang-String"
pub fn enforceUriPermission_Uri_String_String_int_int_int_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn createPackageContext<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn createContextForSplit<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn createConfigurationContext<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-content-res-Configuration"
pub fn createDisplayContext<'env>(
&'env self,
arg0: impl Into<Option<&'env Display>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Display>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-view-Display"
pub fn isRestricted<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn createDeviceProtectedStorageContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
createDeviceProtectedStorageContext
Required features: "android-content-Context"
pub fn isDeviceProtectedStorage<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
Methods from Deref<Target = Context>
pub fn getAssets<'env>(
&'env self
) -> Result<Option<Local<'env, AssetManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, AssetManager>>, Local<'env, Throwable>>
Required features: "android-content-res-AssetManager"
pub fn getResources<'env>(
&'env self
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Resources>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources"
pub fn getPackageManager<'env>(
&'env self
) -> Result<Option<Local<'env, PackageManager>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, PackageManager>>, Local<'env, Throwable>>
Required features: "android-content-pm-PackageManager"
pub fn getContentResolver<'env>(
&'env self
) -> Result<Option<Local<'env, ContentResolver>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ContentResolver>>, Local<'env, Throwable>>
Required features: "android-content-ContentResolver"
pub fn getMainLooper<'env>(
&'env self
) -> Result<Option<Local<'env, Looper>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Looper>>, Local<'env, Throwable>>
Required features: "android-os-Looper"
pub fn getMainExecutor<'env>(
&'env self
) -> Result<Option<Local<'env, Executor>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Executor>>, Local<'env, Throwable>>
Required features: "java-util-concurrent-Executor"
pub fn getApplicationContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context"
pub fn registerComponentCallbacks<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentCallbacks>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentCallbacks>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentCallbacks"
pub fn unregisterComponentCallbacks<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentCallbacks>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentCallbacks>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentCallbacks"
pub fn getText<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, CharSequence>>, Local<'env, Throwable>>
Required features: "java-lang-CharSequence"
pub fn getString_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getString_int_Object_array<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env ObjectArray<Object, Throwable>>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String"
pub fn getColor<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn getDrawable<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn getColorStateList<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ColorStateList>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, ColorStateList>>, Local<'env, Throwable>>
Required features: "android-content-res-ColorStateList"
pub fn setTheme<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getTheme<'env>(
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Resources_Theme>>, Local<'env, Throwable>>
Required features: "android-content-res-Resources_Theme"
pub fn obtainStyledAttributes_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
Required features: "android-content-res-TypedArray"
pub fn obtainStyledAttributes_int_int_array<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
Required features: "android-content-res-TypedArray"
pub fn obtainStyledAttributes_AttributeSet_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
Required features: "android-content-res-TypedArray", "android-util-AttributeSet"
pub fn obtainStyledAttributes_AttributeSet_int_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env IntArray>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env AttributeSet>>,
arg1: impl Into<Option<&'env IntArray>>,
arg2: i32,
arg3: i32
) -> Result<Option<Local<'env, TypedArray>>, Local<'env, Throwable>>
Required features: "android-content-res-TypedArray", "android-util-AttributeSet"
pub fn getClassLoader<'env>(
&'env self
) -> Result<Option<Local<'env, ClassLoader>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ClassLoader>>, Local<'env, Throwable>>
Required features: "java-lang-ClassLoader"
pub fn getPackageName<'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 getApplicationInfo<'env>(
&'env self
) -> Result<Option<Local<'env, ApplicationInfo>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ApplicationInfo>>, Local<'env, Throwable>>
Required features: "android-content-pm-ApplicationInfo"
pub fn getPackageResourcePath<'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 getPackageCodePath<'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 getSharedPreferences<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, SharedPreferences>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, SharedPreferences>>, Local<'env, Throwable>>
Required features: "android-content-SharedPreferences", "java-lang-String"
pub fn moveSharedPreferencesFrom<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn deleteSharedPreferences<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn openFileInput<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FileInputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, FileInputStream>>, Local<'env, Throwable>>
Required features: "java-io-FileInputStream", "java-lang-String"
pub fn openFileOutput<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, FileOutputStream>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, FileOutputStream>>, Local<'env, Throwable>>
Required features: "java-io-FileOutputStream", "java-lang-String"
pub fn deleteFile<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getFileStreamPath<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn getDataDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getFilesDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getNoBackupFilesDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getExternalFilesDir<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn getExternalFilesDirs<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn getObbDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getObbDirs<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getCacheDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getCodeCacheDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getExternalCacheDir<'env>(
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getExternalCacheDirs<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn getExternalMediaDirs<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<File, Throwable>>>, Local<'env, Throwable>>
Required features: "java-io-File"
pub fn fileList<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getDir<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn openOrCreateDatabase_String_int_CursorFactory<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn openOrCreateDatabase_String_int_CursorFactory_DatabaseErrorHandler<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: impl Into<Option<&'env SQLiteDatabase_CursorFactory>>,
arg3: impl Into<Option<&'env DatabaseErrorHandler>>
) -> Result<Option<Local<'env, SQLiteDatabase>>, Local<'env, Throwable>>
Required features: "android-database-DatabaseErrorHandler", "android-database-sqlite-SQLiteDatabase", "android-database-sqlite-SQLiteDatabase_CursorFactory", "java-lang-String"
pub fn moveDatabaseFrom<'env>(
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Context>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn deleteDatabase<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getDatabasePath<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
Required features: "java-io-File", "java-lang-String"
pub fn databaseList<'env>(
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ObjectArray<String, Throwable>>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getWallpaper<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn peekWallpaper<'env>(
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Drawable>>, Local<'env, Throwable>>
Required features: "android-graphics-drawable-Drawable"
pub fn getWallpaperDesiredMinimumWidth<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn getWallpaperDesiredMinimumHeight<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setWallpaper_Bitmap<'env>(
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Bitmap>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-graphics-Bitmap"
pub fn setWallpaper_InputStream<'env>(
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputStream>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-io-InputStream"
pub fn clearWallpaper<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn startActivity_Intent<'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 startActivity_Intent_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn startActivities_Intent_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent"
pub fn startActivities_Intent_array_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<Intent, Throwable>>>,
arg1: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-Bundle"
pub fn startIntentSender_IntentSender_Intent_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-IntentSender"
pub fn startIntentSender_IntentSender_Intent_int_int_int_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env IntentSender>>,
arg1: impl Into<Option<&'env Intent>>,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-IntentSender", "android-os-Bundle"
pub fn sendBroadcast_Intent<'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 sendBroadcast_Intent_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "java-lang-String"
pub fn sendOrderedBroadcast_Intent_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "java-lang-String"
pub fn sendOrderedBroadcast_Intent_String_BroadcastReceiver_Handler_int_String_Bundle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn sendBroadcastAsUser_Intent_UserHandle<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn sendBroadcastAsUser_Intent_UserHandle_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-UserHandle", "java-lang-String"
pub fn sendOrderedBroadcastAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env BroadcastReceiver>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: i32,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env BroadcastReceiver>>,
arg4: impl Into<Option<&'env Handler>>,
arg5: i32,
arg6: impl Into<Option<&'env String>>,
arg7: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "android-os-UserHandle", "java-lang-String"
pub fn sendStickyBroadcast<'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 sendStickyOrderedBroadcast<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env BroadcastReceiver>>,
arg2: impl Into<Option<&'env Handler>>,
arg3: i32,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env BroadcastReceiver>>,
arg2: impl Into<Option<&'env Handler>>,
arg3: i32,
arg4: impl Into<Option<&'env String>>,
arg5: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "java-lang-String"
pub fn removeStickyBroadcast<'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 sendStickyBroadcastAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn sendStickyOrderedBroadcastAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>,
arg2: impl Into<Option<&'env BroadcastReceiver>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32,
arg5: impl Into<Option<&'env String>>,
arg6: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
sendStickyOrderedBroadcastAsUser
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-os-Bundle", "android-os-Handler", "android-os-UserHandle", "java-lang-String"
pub fn removeStickyBroadcastAsUser<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env UserHandle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-Intent", "android-os-UserHandle"
pub fn registerReceiver_BroadcastReceiver_IntentFilter<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter"
pub fn registerReceiver_BroadcastReceiver_IntentFilter_int<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter"
pub fn registerReceiver_BroadcastReceiver_IntentFilter_String_Handler<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter", "android-os-Handler", "java-lang-String"
pub fn registerReceiver_BroadcastReceiver_IntentFilter_String_Handler_int<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>,
arg1: impl Into<Option<&'env IntentFilter>>,
arg2: impl Into<Option<&'env String>>,
arg3: impl Into<Option<&'env Handler>>,
arg4: i32
) -> Result<Option<Local<'env, Intent>>, Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver", "android-content-Intent", "android-content-IntentFilter", "android-os-Handler", "java-lang-String"
pub fn unregisterReceiver<'env>(
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BroadcastReceiver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-BroadcastReceiver"
pub fn startService<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn startForegroundService<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-content-Intent"
pub fn stopService<'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 bindService<'env>(
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env ServiceConnection>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Intent>>,
arg1: impl Into<Option<&'env ServiceConnection>>,
arg2: i32
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-Intent", "android-content-ServiceConnection"
pub fn unbindService<'env>(
&'env self,
arg0: impl Into<Option<&'env ServiceConnection>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ServiceConnection>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ServiceConnection"
pub fn startInstrumentation<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"
pub fn getSystemService_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String"
pub fn getSystemService_Class<'env>(
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-Object"
pub fn getSystemServiceName<'env>(
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Class>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-Class", "java-lang-String"
pub fn checkPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn checkCallingPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn checkCallingOrSelfPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn checkSelfPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn enforcePermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn enforceCallingPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn enforceCallingOrSelfPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
enforceCallingOrSelfPermission
Required features: "java-lang-String"
pub fn grantUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn revokeUriPermission_Uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn revokeUriPermission_String_Uri_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Uri>>,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn checkUriPermission_Uri_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn checkCallingUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri"
pub fn checkCallingOrSelfUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32
) -> Result<i32, Local<'env, Throwable>>
checkCallingOrSelfUriPermission
Required features: "android-net-Uri"
pub fn checkUriPermission_Uri_String_String_int_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<i32, Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforceUriPermission_Uri_int_int_int_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforceCallingUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn enforceCallingOrSelfUriPermission<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: i32,
arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
enforceCallingOrSelfUriPermission
Required features: "android-net-Uri", "java-lang-String"
pub fn enforceUriPermission_Uri_String_String_int_int_int_String<'env>(
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Uri>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>,
arg3: i32,
arg4: i32,
arg5: i32,
arg6: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-net-Uri", "java-lang-String"
pub fn createPackageContext<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn createContextForSplit<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context", "java-lang-String"
pub fn createConfigurationContext<'env>(
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Configuration>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-content-res-Configuration"
pub fn createDisplayContext<'env>(
&'env self,
arg0: impl Into<Option<&'env Display>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Display>>
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
Required features: "android-content-Context", "android-view-Display"
pub fn createDeviceProtectedStorageContext<'env>(
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Context>>, Local<'env, Throwable>>
createDeviceProtectedStorageContext
Required features: "android-content-Context"
pub fn isRestricted<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn isDeviceProtectedStorage<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub const ACCESSIBILITY_SERVICE: &'static str
[src]
pub const ACCOUNT_SERVICE: &'static str
[src]
pub const ACTIVITY_SERVICE: &'static str
[src]
pub const ALARM_SERVICE: &'static str
[src]
pub const APPWIDGET_SERVICE: &'static str
[src]
pub const APP_OPS_SERVICE: &'static str
[src]
pub const AUDIO_SERVICE: &'static str
[src]
pub const BATTERY_SERVICE: &'static str
[src]
pub const BIND_ABOVE_CLIENT: i32
[src]
pub const BIND_ADJUST_WITH_ACTIVITY: i32
[src]
pub const BIND_ALLOW_OOM_MANAGEMENT: i32
[src]
pub const BIND_AUTO_CREATE: i32
[src]
pub const BIND_DEBUG_UNBIND: i32
[src]
pub const BIND_EXTERNAL_SERVICE: i32
[src]
pub const BIND_IMPORTANT: i32
[src]
pub const BIND_NOT_FOREGROUND: i32
[src]
pub const BIND_WAIVE_PRIORITY: i32
[src]
pub const BLUETOOTH_SERVICE: &'static str
[src]
pub const CAMERA_SERVICE: &'static str
[src]
pub const CAPTIONING_SERVICE: &'static str
[src]
pub const CARRIER_CONFIG_SERVICE: &'static str
[src]
pub const CLIPBOARD_SERVICE: &'static str
[src]
pub const COMPANION_DEVICE_SERVICE: &'static str
[src]
pub const CONNECTIVITY_SERVICE: &'static str
[src]
pub const CONSUMER_IR_SERVICE: &'static str
[src]
pub const CONTEXT_IGNORE_SECURITY: i32
[src]
pub const CONTEXT_INCLUDE_CODE: i32
[src]
pub const CONTEXT_RESTRICTED: i32
[src]
pub const CROSS_PROFILE_APPS_SERVICE: &'static str
[src]
pub const DEVICE_POLICY_SERVICE: &'static str
[src]
pub const DISPLAY_SERVICE: &'static str
[src]
pub const DOWNLOAD_SERVICE: &'static str
[src]
pub const DROPBOX_SERVICE: &'static str
[src]
pub const EUICC_SERVICE: &'static str
[src]
pub const FINGERPRINT_SERVICE: &'static str
[src]
pub const HARDWARE_PROPERTIES_SERVICE: &'static str
[src]
pub const INPUT_METHOD_SERVICE: &'static str
[src]
pub const INPUT_SERVICE: &'static str
[src]
pub const IPSEC_SERVICE: &'static str
[src]
pub const JOB_SCHEDULER_SERVICE: &'static str
[src]
pub const KEYGUARD_SERVICE: &'static str
[src]
pub const LAUNCHER_APPS_SERVICE: &'static str
[src]
pub const LAYOUT_INFLATER_SERVICE: &'static str
[src]
pub const LOCATION_SERVICE: &'static str
[src]
pub const MEDIA_PROJECTION_SERVICE: &'static str
[src]
pub const MEDIA_ROUTER_SERVICE: &'static str
[src]
pub const MEDIA_SESSION_SERVICE: &'static str
[src]
pub const MIDI_SERVICE: &'static str
[src]
pub const MODE_APPEND: i32
[src]
pub const MODE_ENABLE_WRITE_AHEAD_LOGGING: i32
[src]
pub const MODE_MULTI_PROCESS: i32
[src]
pub const MODE_NO_LOCALIZED_COLLATORS: i32
[src]
pub const MODE_PRIVATE: i32
[src]
pub const MODE_WORLD_READABLE: i32
[src]
pub const MODE_WORLD_WRITEABLE: i32
[src]
pub const NETWORK_STATS_SERVICE: &'static str
[src]
pub const NFC_SERVICE: &'static str
[src]
pub const NOTIFICATION_SERVICE: &'static str
[src]
pub const NSD_SERVICE: &'static str
[src]
pub const POWER_SERVICE: &'static str
[src]
pub const PRINT_SERVICE: &'static str
[src]
pub const RECEIVER_VISIBLE_TO_INSTANT_APPS: i32
[src]
pub const RESTRICTIONS_SERVICE: &'static str
[src]
pub const SEARCH_SERVICE: &'static str
[src]
pub const SENSOR_SERVICE: &'static str
[src]
pub const SHORTCUT_SERVICE: &'static str
[src]
pub const STORAGE_SERVICE: &'static str
[src]
pub const STORAGE_STATS_SERVICE: &'static str
[src]
pub const SYSTEM_HEALTH_SERVICE: &'static str
[src]
pub const TELECOM_SERVICE: &'static str
[src]
pub const TELEPHONY_SERVICE: &'static str
[src]
pub const TELEPHONY_SUBSCRIPTION_SERVICE: &'static str
[src]
pub const TEXT_CLASSIFICATION_SERVICE: &'static str
[src]
pub const TEXT_SERVICES_MANAGER_SERVICE: &'static str
[src]
pub const TV_INPUT_SERVICE: &'static str
[src]
pub const UI_MODE_SERVICE: &'static str
[src]
pub const USAGE_STATS_SERVICE: &'static str
[src]
pub const USB_SERVICE: &'static str
[src]
pub const USER_SERVICE: &'static str
[src]
pub const VIBRATOR_SERVICE: &'static str
[src]
pub const WALLPAPER_SERVICE: &'static str
[src]
pub const WIFI_AWARE_SERVICE: &'static str
[src]
pub const WIFI_P2P_SERVICE: &'static str
[src]
pub const WIFI_RTT_RANGING_SERVICE: &'static str
[src]
pub const WIFI_SERVICE: &'static str
[src]
pub const WINDOW_SERVICE: &'static str
[src]
Trait Implementations
impl AsJValue for ContextWrapper
impl AsValidJObjectAndEnv for ContextWrapper
impl Deref for ContextWrapper
impl JniType for ContextWrapper
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ContextWrapper
impl !Send for ContextWrapper
impl !Sync for ContextWrapper
impl Unpin for ContextWrapper
impl UnwindSafe for ContextWrapper
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>,