Class Context
public class Context : JVMBridgeBase<Context>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Context>Context
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Derived
- Inherited Members
-
JVMBridgeBase<Context>.IsAssignableFrom(IJavaType)JVMBridgeBase<Context>.IsAssignableFrom<T>()JVMBridgeBase<Context>.Execute<T>(params T[])JVMBridgeBase<Context>.DynBridgeClazzJVMBridgeBase<Context>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Context()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("Context class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Context()
Context(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("Context class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Context(params object[] args)
Parameters
args
object[]
Properties
ACCESSIBILITY_SERVICE
public static String ACCESSIBILITY_SERVICE { get; }
Property Value
ACCOUNT_SERVICE
public static String ACCOUNT_SERVICE { get; }
Property Value
ACTIVITY_SERVICE
public static String ACTIVITY_SERVICE { get; }
Property Value
ALARM_SERVICE
public static String ALARM_SERVICE { get; }
Property Value
APPWIDGET_SERVICE
public static String APPWIDGET_SERVICE { get; }
Property Value
APP_OPS_SERVICE
public static String APP_OPS_SERVICE { get; }
Property Value
APP_SEARCH_SERVICE
public static String APP_SEARCH_SERVICE { get; }
Property Value
AUDIO_SERVICE
public static String AUDIO_SERVICE { get; }
Property Value
BATTERY_SERVICE
public static String BATTERY_SERVICE { get; }
Property Value
BIND_ABOVE_CLIENT
public static int BIND_ABOVE_CLIENT { get; }
Property Value
BIND_ADJUST_WITH_ACTIVITY
public static int BIND_ADJUST_WITH_ACTIVITY { get; }
Property Value
BIND_ALLOW_ACTIVITY_STARTS
public static int BIND_ALLOW_ACTIVITY_STARTS { get; }
Property Value
BIND_ALLOW_OOM_MANAGEMENT
public static int BIND_ALLOW_OOM_MANAGEMENT { get; }
Property Value
BIND_AUTO_CREATE
public static int BIND_AUTO_CREATE { get; }
Property Value
BIND_DEBUG_UNBIND
public static int BIND_DEBUG_UNBIND { get; }
Property Value
BIND_EXTERNAL_SERVICE
public static int BIND_EXTERNAL_SERVICE { get; }
Property Value
BIND_EXTERNAL_SERVICE_LONG
public static long BIND_EXTERNAL_SERVICE_LONG { get; }
Property Value
BIND_IMPORTANT
public static int BIND_IMPORTANT { get; }
Property Value
BIND_INCLUDE_CAPABILITIES
public static int BIND_INCLUDE_CAPABILITIES { get; }
Property Value
BIND_NOT_FOREGROUND
public static int BIND_NOT_FOREGROUND { get; }
Property Value
BIND_NOT_PERCEPTIBLE
public static int BIND_NOT_PERCEPTIBLE { get; }
Property Value
BIND_PACKAGE_ISOLATED_PROCESS
public static int BIND_PACKAGE_ISOLATED_PROCESS { get; }
Property Value
BIND_SHARED_ISOLATED_PROCESS
public static int BIND_SHARED_ISOLATED_PROCESS { get; }
Property Value
BIND_WAIVE_PRIORITY
public static int BIND_WAIVE_PRIORITY { get; }
Property Value
BIOMETRIC_SERVICE
public static String BIOMETRIC_SERVICE { get; }
Property Value
BLOB_STORE_SERVICE
public static String BLOB_STORE_SERVICE { get; }
Property Value
BLUETOOTH_SERVICE
public static String BLUETOOTH_SERVICE { get; }
Property Value
BUGREPORT_SERVICE
public static String BUGREPORT_SERVICE { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
CAMERA_SERVICE
public static String CAMERA_SERVICE { get; }
Property Value
CAPTIONING_SERVICE
public static String CAPTIONING_SERVICE { get; }
Property Value
CARRIER_CONFIG_SERVICE
public static String CARRIER_CONFIG_SERVICE { get; }
Property Value
CLIPBOARD_SERVICE
public static String CLIPBOARD_SERVICE { get; }
Property Value
COMPANION_DEVICE_SERVICE
public static String COMPANION_DEVICE_SERVICE { get; }
Property Value
CONNECTIVITY_DIAGNOSTICS_SERVICE
public static String CONNECTIVITY_DIAGNOSTICS_SERVICE { get; }
Property Value
CONNECTIVITY_SERVICE
public static String CONNECTIVITY_SERVICE { get; }
Property Value
CONSUMER_IR_SERVICE
public static String CONSUMER_IR_SERVICE { get; }
Property Value
CONTACT_KEYS_SERVICE
public static String CONTACT_KEYS_SERVICE { get; }
Property Value
CONTEXT_IGNORE_SECURITY
public static int CONTEXT_IGNORE_SECURITY { get; }
Property Value
CONTEXT_INCLUDE_CODE
public static int CONTEXT_INCLUDE_CODE { get; }
Property Value
CONTEXT_RESTRICTED
public static int CONTEXT_RESTRICTED { get; }
Property Value
CREDENTIAL_SERVICE
public static String CREDENTIAL_SERVICE { get; }
Property Value
CROSS_PROFILE_APPS_SERVICE
public static String CROSS_PROFILE_APPS_SERVICE { get; }
Property Value
DEVICE_ID_DEFAULT
public static int DEVICE_ID_DEFAULT { get; }
Property Value
DEVICE_ID_INVALID
public static int DEVICE_ID_INVALID { get; }
Property Value
DEVICE_LOCK_SERVICE
public static String DEVICE_LOCK_SERVICE { get; }
Property Value
DEVICE_POLICY_SERVICE
public static String DEVICE_POLICY_SERVICE { get; }
Property Value
DISPLAY_HASH_SERVICE
public static String DISPLAY_HASH_SERVICE { get; }
Property Value
DISPLAY_SERVICE
public static String DISPLAY_SERVICE { get; }
Property Value
DOMAIN_VERIFICATION_SERVICE
public static String DOMAIN_VERIFICATION_SERVICE { get; }
Property Value
DOWNLOAD_SERVICE
public static String DOWNLOAD_SERVICE { get; }
Property Value
DROPBOX_SERVICE
public static String DROPBOX_SERVICE { get; }
Property Value
EUICC_SERVICE
public static String EUICC_SERVICE { get; }
Property Value
FILE_INTEGRITY_SERVICE
public static String FILE_INTEGRITY_SERVICE { get; }
Property Value
FINGERPRINT_SERVICE
public static String FINGERPRINT_SERVICE { get; }
Property Value
GAME_SERVICE
public static String GAME_SERVICE { get; }
Property Value
GRAMMATICAL_INFLECTION_SERVICE
public static String GRAMMATICAL_INFLECTION_SERVICE { get; }
Property Value
HARDWARE_PROPERTIES_SERVICE
public static String HARDWARE_PROPERTIES_SERVICE { get; }
Property Value
HEALTHCONNECT_SERVICE
public static String HEALTHCONNECT_SERVICE { get; }
Property Value
INPUT_METHOD_SERVICE
public static String INPUT_METHOD_SERVICE { get; }
Property Value
INPUT_SERVICE
public static String INPUT_SERVICE { get; }
Property Value
IPSEC_SERVICE
public static String IPSEC_SERVICE { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
JOB_SCHEDULER_SERVICE
public static String JOB_SCHEDULER_SERVICE { get; }
Property Value
KEYGUARD_SERVICE
public static String KEYGUARD_SERVICE { get; }
Property Value
LAUNCHER_APPS_SERVICE
public static String LAUNCHER_APPS_SERVICE { get; }
Property Value
LAYOUT_INFLATER_SERVICE
public static String LAYOUT_INFLATER_SERVICE { get; }
Property Value
LOCALE_SERVICE
public static String LOCALE_SERVICE { get; }
Property Value
LOCATION_SERVICE
public static String LOCATION_SERVICE { get; }
Property Value
MEDIA_COMMUNICATION_SERVICE
public static String MEDIA_COMMUNICATION_SERVICE { get; }
Property Value
MEDIA_METRICS_SERVICE
public static String MEDIA_METRICS_SERVICE { get; }
Property Value
MEDIA_PROJECTION_SERVICE
public static String MEDIA_PROJECTION_SERVICE { get; }
Property Value
MEDIA_ROUTER_SERVICE
public static String MEDIA_ROUTER_SERVICE { get; }
Property Value
MEDIA_SESSION_SERVICE
public static String MEDIA_SESSION_SERVICE { get; }
Property Value
MIDI_SERVICE
public static String MIDI_SERVICE { get; }
Property Value
MODE_APPEND
public static int MODE_APPEND { get; }
Property Value
MODE_ENABLE_WRITE_AHEAD_LOGGING
https://developer.android.com/reference/android/content/Context.html#MODE_ENABLE_WRITE_AHEAD_LOGGING
public static int MODE_ENABLE_WRITE_AHEAD_LOGGING { get; }
Property Value
MODE_MULTI_PROCESS
[Obsolete]
public static int MODE_MULTI_PROCESS { get; }
Property Value
MODE_NO_LOCALIZED_COLLATORS
public static int MODE_NO_LOCALIZED_COLLATORS { get; }
Property Value
MODE_PRIVATE
public static int MODE_PRIVATE { get; }
Property Value
MODE_WORLD_READABLE
[Obsolete]
public static int MODE_WORLD_READABLE { get; }
Property Value
MODE_WORLD_WRITEABLE
[Obsolete]
public static int MODE_WORLD_WRITEABLE { get; }
Property Value
NETWORK_STATS_SERVICE
public static String NETWORK_STATS_SERVICE { get; }
Property Value
NFC_SERVICE
public static String NFC_SERVICE { get; }
Property Value
NOTIFICATION_SERVICE
public static String NOTIFICATION_SERVICE { get; }
Property Value
NSD_SERVICE
public static String NSD_SERVICE { get; }
Property Value
OVERLAY_SERVICE
public static String OVERLAY_SERVICE { get; }
Property Value
PEOPLE_SERVICE
public static String PEOPLE_SERVICE { get; }
Property Value
PERFORMANCE_HINT_SERVICE
public static String PERFORMANCE_HINT_SERVICE { get; }
Property Value
PERSISTENT_DATA_BLOCK_SERVICE
public static String PERSISTENT_DATA_BLOCK_SERVICE { get; }
Property Value
POWER_SERVICE
public static String POWER_SERVICE { get; }
Property Value
PRINT_SERVICE
public static String PRINT_SERVICE { get; }
Property Value
PROFILING_SERVICE
public static String PROFILING_SERVICE { get; }
Property Value
RECEIVER_EXPORTED
public static int RECEIVER_EXPORTED { get; }
Property Value
RECEIVER_NOT_EXPORTED
public static int RECEIVER_NOT_EXPORTED { get; }
Property Value
RECEIVER_VISIBLE_TO_INSTANT_APPS
public static int RECEIVER_VISIBLE_TO_INSTANT_APPS { get; }
Property Value
RESTRICTIONS_SERVICE
public static String RESTRICTIONS_SERVICE { get; }
Property Value
ROLE_SERVICE
public static String ROLE_SERVICE { get; }
Property Value
SEARCH_SERVICE
public static String SEARCH_SERVICE { get; }
Property Value
SECURITY_STATE_SERVICE
public static String SECURITY_STATE_SERVICE { get; }
Property Value
SENSOR_SERVICE
public static String SENSOR_SERVICE { get; }
Property Value
SHORTCUT_SERVICE
public static String SHORTCUT_SERVICE { get; }
Property Value
STATUS_BAR_SERVICE
public static String STATUS_BAR_SERVICE { get; }
Property Value
STORAGE_SERVICE
public static String STORAGE_SERVICE { get; }
Property Value
STORAGE_STATS_SERVICE
public static String STORAGE_STATS_SERVICE { get; }
Property Value
SYSTEM_HEALTH_SERVICE
public static String SYSTEM_HEALTH_SERVICE { get; }
Property Value
TELECOM_SERVICE
public static String TELECOM_SERVICE { get; }
Property Value
TELEPHONY_IMS_SERVICE
public static String TELEPHONY_IMS_SERVICE { get; }
Property Value
TELEPHONY_SERVICE
public static String TELEPHONY_SERVICE { get; }
Property Value
TELEPHONY_SUBSCRIPTION_SERVICE
public static String TELEPHONY_SUBSCRIPTION_SERVICE { get; }
Property Value
TEXT_CLASSIFICATION_SERVICE
public static String TEXT_CLASSIFICATION_SERVICE { get; }
Property Value
TEXT_SERVICES_MANAGER_SERVICE
public static String TEXT_SERVICES_MANAGER_SERVICE { get; }
Property Value
TV_INPUT_SERVICE
public static String TV_INPUT_SERVICE { get; }
Property Value
TV_INTERACTIVE_APP_SERVICE
public static String TV_INTERACTIVE_APP_SERVICE { get; }
Property Value
UI_MODE_SERVICE
public static String UI_MODE_SERVICE { get; }
Property Value
USAGE_STATS_SERVICE
public static String USAGE_STATS_SERVICE { get; }
Property Value
USB_SERVICE
public static String USB_SERVICE { get; }
Property Value
USER_SERVICE
public static String USER_SERVICE { get; }
Property Value
VIBRATOR_MANAGER_SERVICE
public static String VIBRATOR_MANAGER_SERVICE { get; }
Property Value
VIBRATOR_SERVICE
[Obsolete]
public static String VIBRATOR_SERVICE { get; }
Property Value
VIRTUAL_DEVICE_SERVICE
public static String VIRTUAL_DEVICE_SERVICE { get; }
Property Value
VPN_MANAGEMENT_SERVICE
public static String VPN_MANAGEMENT_SERVICE { get; }
Property Value
WALLPAPER_SERVICE
public static String WALLPAPER_SERVICE { get; }
Property Value
WIFI_AWARE_SERVICE
public static String WIFI_AWARE_SERVICE { get; }
Property Value
WIFI_P2P_SERVICE
public static String WIFI_P2P_SERVICE { get; }
Property Value
WIFI_RTT_RANGING_SERVICE
public static String WIFI_RTT_RANGING_SERVICE { get; }
Property Value
WIFI_SERVICE
public static String WIFI_SERVICE { get; }
Property Value
WINDOW_SERVICE
public static String WINDOW_SERVICE { get; }
Property Value
Methods
BindIsolatedService(Intent, BindServiceFlags, String, Executor, ServiceConnection)
public bool BindIsolatedService(Intent arg0, Context.BindServiceFlags arg1, String arg2, Executor arg3, ServiceConnection arg4)
Parameters
arg0
Intentarg1
Context.BindServiceFlagsarg2
Stringarg3
Executorarg4
ServiceConnection
Returns
BindIsolatedService(Intent, int, String, Executor, ServiceConnection)
public bool BindIsolatedService(Intent arg0, int arg1, String arg2, Executor arg3, ServiceConnection arg4)
Parameters
arg0
Intentarg1
intarg2
Stringarg3
Executorarg4
ServiceConnection
Returns
BindService(Intent, BindServiceFlags, Executor, ServiceConnection)
public bool BindService(Intent arg0, Context.BindServiceFlags arg1, Executor arg2, ServiceConnection arg3)
Parameters
arg0
Intentarg1
Context.BindServiceFlagsarg2
Executorarg3
ServiceConnection
Returns
BindService(Intent, ServiceConnection, BindServiceFlags)
public bool BindService(Intent arg0, ServiceConnection arg1, Context.BindServiceFlags arg2)
Parameters
arg0
Intentarg1
ServiceConnectionarg2
Context.BindServiceFlags
Returns
BindService(Intent, ServiceConnection, int)
public bool BindService(Intent arg0, ServiceConnection arg1, int arg2)
Parameters
arg0
Intentarg1
ServiceConnectionarg2
int
Returns
BindService(Intent, int, Executor, ServiceConnection)
public bool BindService(Intent arg0, int arg1, Executor arg2, ServiceConnection arg3)
Parameters
arg0
Intentarg1
intarg2
Executorarg3
ServiceConnection
Returns
BindServiceAsUser(Intent, ServiceConnection, BindServiceFlags, UserHandle)
public bool BindServiceAsUser(Intent arg0, ServiceConnection arg1, Context.BindServiceFlags arg2, UserHandle arg3)
Parameters
arg0
Intentarg1
ServiceConnectionarg2
Context.BindServiceFlagsarg3
UserHandle
Returns
BindServiceAsUser(Intent, ServiceConnection, int, UserHandle)
public bool BindServiceAsUser(Intent arg0, ServiceConnection arg1, int arg2, UserHandle arg3)
Parameters
arg0
Intentarg1
ServiceConnectionarg2
intarg3
UserHandle
Returns
CheckCallingOrSelfPermission(String)
public int CheckCallingOrSelfPermission(String arg0)
Parameters
Returns
CheckCallingOrSelfUriPermission(Uri, int)
public int CheckCallingOrSelfUriPermission(Uri arg0, int arg1)
Parameters
Returns
CheckCallingOrSelfUriPermissions(List<Uri>, int)
public int[] CheckCallingOrSelfUriPermissions(List<Uri> arg0, int arg1)
Parameters
Returns
CheckCallingPermission(String)
public int CheckCallingPermission(String arg0)
Parameters
Returns
CheckCallingUriPermission(Uri, int)
public int CheckCallingUriPermission(Uri arg0, int arg1)
Parameters
Returns
CheckCallingUriPermissions(List<Uri>, int)
public int[] CheckCallingUriPermissions(List<Uri> arg0, int arg1)
Parameters
Returns
CheckContentUriPermissionFull(Uri, int, int, int)
public int CheckContentUriPermissionFull(Uri arg0, int arg1, int arg2, int arg3)
Parameters
Returns
CheckPermission(String, int, int)
public int CheckPermission(String arg0, int arg1, int arg2)
Parameters
Returns
CheckSelfPermission(String)
public int CheckSelfPermission(String arg0)
Parameters
Returns
CheckUriPermission(Uri, String, String, int, int, int)
public int CheckUriPermission(Uri arg0, String arg1, String arg2, int arg3, int arg4, int arg5)
Parameters
Returns
CheckUriPermission(Uri, int, int, int)
public int CheckUriPermission(Uri arg0, int arg1, int arg2, int arg3)
Parameters
Returns
CheckUriPermissions(List<Uri>, int, int, int)
public int[] CheckUriPermissions(List<Uri> arg0, int arg1, int arg2, int arg3)
Parameters
Returns
ClearWallpaper()
[Obsolete]
public void ClearWallpaper()
Exceptions
CreateAttributionContext(String)
public Context CreateAttributionContext(String arg0)
Parameters
Returns
CreateConfigurationContext(Configuration)
public Context CreateConfigurationContext(Configuration arg0)
Parameters
Returns
CreateContext(ContextParams)
public Context CreateContext(ContextParams arg0)
Parameters
Returns
CreateContextForSplit(String)
public Context CreateContextForSplit(String arg0)
Parameters
Returns
Exceptions
CreateDeviceContext(int)
public Context CreateDeviceContext(int arg0)
Parameters
Returns
CreateDeviceProtectedStorageContext()
public Context CreateDeviceProtectedStorageContext()
Returns
CreateDisplayContext(Display)
public Context CreateDisplayContext(Display arg0)
Parameters
Returns
CreatePackageContext(String, int)
public Context CreatePackageContext(String arg0, int arg1)
Parameters
Returns
Exceptions
CreateWindowContext(Display, int, Bundle)
public Context CreateWindowContext(Display arg0, int arg1, Bundle arg2)
Parameters
Returns
CreateWindowContext(int, Bundle)
public Context CreateWindowContext(int arg0, Bundle arg1)
Parameters
Returns
DatabaseList()
public String[] DatabaseList()
Returns
DeleteDatabase(String)
public bool DeleteDatabase(String arg0)
Parameters
Returns
DeleteFile(String)
public bool DeleteFile(String arg0)
Parameters
Returns
DeleteSharedPreferences(String)
public bool DeleteSharedPreferences(String arg0)
Parameters
Returns
EnforceCallingOrSelfPermission(String, String)
public void EnforceCallingOrSelfPermission(String arg0, String arg1)
Parameters
EnforceCallingOrSelfUriPermission(Uri, int, String)
public void EnforceCallingOrSelfUriPermission(Uri arg0, int arg1, String arg2)
Parameters
EnforceCallingPermission(String, String)
public void EnforceCallingPermission(String arg0, String arg1)
Parameters
EnforceCallingUriPermission(Uri, int, String)
public void EnforceCallingUriPermission(Uri arg0, int arg1, String arg2)
Parameters
EnforcePermission(String, int, int, String)
public void EnforcePermission(String arg0, int arg1, int arg2, String arg3)
Parameters
EnforceUriPermission(Uri, String, String, int, int, int, String)
public void EnforceUriPermission(Uri arg0, String arg1, String arg2, int arg3, int arg4, int arg5, String arg6)
Parameters
EnforceUriPermission(Uri, int, int, int, String)
public void EnforceUriPermission(Uri arg0, int arg1, int arg2, int arg3, String arg4)
Parameters
FileList()
public String[] FileList()
Returns
GetApplicationContext()
public Context GetApplicationContext()
Returns
GetApplicationInfo()
public ApplicationInfo GetApplicationInfo()
Returns
GetAssets()
public AssetManager GetAssets()
Returns
GetAttributionSource()
public AttributionSource GetAttributionSource()
Returns
GetAttributionTag()
public String GetAttributionTag()
Returns
GetCacheDir()
public File GetCacheDir()
Returns
GetClassLoader()
public ClassLoader GetClassLoader()
Returns
GetCodeCacheDir()
public File GetCodeCacheDir()
Returns
GetColor(int)
public int GetColor(int arg0)
Parameters
Returns
GetColorStateList(int)
public ColorStateList GetColorStateList(int arg0)
Parameters
Returns
GetContentResolver()
public ContentResolver GetContentResolver()
Returns
GetDataDir()
public File GetDataDir()
Returns
GetDatabasePath(String)
public File GetDatabasePath(String arg0)
Parameters
Returns
GetDeviceId()
public int GetDeviceId()
Returns
GetDir(String, int)
public File GetDir(String arg0, int arg1)
Parameters
Returns
GetDisplay()
public Display GetDisplay()
Returns
GetDrawable(int)
public Drawable GetDrawable(int arg0)
Parameters
Returns
GetExternalCacheDir()
public File GetExternalCacheDir()
Returns
GetExternalCacheDirs()
public File[] GetExternalCacheDirs()
Returns
GetExternalFilesDir(String)
public File GetExternalFilesDir(String arg0)
Parameters
Returns
GetExternalFilesDirs(String)
public File[] GetExternalFilesDirs(String arg0)
Parameters
Returns
GetExternalMediaDirs()
[Obsolete]
public File[] GetExternalMediaDirs()
Returns
GetFileStreamPath(String)
public File GetFileStreamPath(String arg0)
Parameters
Returns
GetFilesDir()
public File GetFilesDir()
Returns
GetMainExecutor()
public Executor GetMainExecutor()
Returns
GetMainLooper()
public Looper GetMainLooper()
Returns
GetNoBackupFilesDir()
public File GetNoBackupFilesDir()
Returns
GetObbDir()
public File GetObbDir()
Returns
GetObbDirs()
public File[] GetObbDirs()
Returns
GetOpPackageName()
public String GetOpPackageName()
Returns
GetPackageCodePath()
public String GetPackageCodePath()
Returns
GetPackageManager()
public PackageManager GetPackageManager()
Returns
GetPackageName()
public String GetPackageName()
Returns
GetPackageResourcePath()
public String GetPackageResourcePath()
Returns
GetParams()
public ContextParams GetParams()
Returns
GetResources()
public Resources GetResources()
Returns
GetSharedPreferences(String, int)
public SharedPreferences GetSharedPreferences(String arg0, int arg1)
Parameters
Returns
GetString(int)
public String GetString(int arg0)
Parameters
Returns
GetString(int, params object[])
public String GetString(int arg0, params object[] arg1)
Parameters
Returns
GetSystemService(String)
public object GetSystemService(String arg0)
Parameters
Returns
GetSystemServiceName(Class)
public String GetSystemServiceName(Class arg0)
Parameters
Returns
GetSystemService<T>(Class)
public T GetSystemService<T>(Class arg0)
Parameters
Returns
- T
T
Type Parameters
T
GetText(int)
public CharSequence GetText(int arg0)
Parameters
Returns
GetTheme()
public Resources.Theme GetTheme()
Returns
GetWallpaper()
[Obsolete]
public Drawable GetWallpaper()
Returns
GetWallpaperDesiredMinimumHeight()
[Obsolete]
public int GetWallpaperDesiredMinimumHeight()
Returns
GetWallpaperDesiredMinimumWidth()
[Obsolete]
public int GetWallpaperDesiredMinimumWidth()
Returns
GrantUriPermission(String, Uri, int)
public void GrantUriPermission(String arg0, Uri arg1, int arg2)
Parameters
IsDeviceProtectedStorage()
public bool IsDeviceProtectedStorage()
Returns
IsRestricted()
public bool IsRestricted()
Returns
IsUiContext()
public bool IsUiContext()
Returns
MoveDatabaseFrom(Context, String)
public bool MoveDatabaseFrom(Context arg0, String arg1)
Parameters
Returns
MoveSharedPreferencesFrom(Context, String)
public bool MoveSharedPreferencesFrom(Context arg0, String arg1)
Parameters
Returns
ObtainStyledAttributes(AttributeSet, int[])
public TypedArray ObtainStyledAttributes(AttributeSet arg0, int[] arg1)
Parameters
arg0
AttributeSetarg1
int[]
Returns
ObtainStyledAttributes(AttributeSet, int[], int, int)
public TypedArray ObtainStyledAttributes(AttributeSet arg0, int[] arg1, int arg2, int arg3)
Parameters
arg0
AttributeSetarg1
int[]arg2
intarg3
int
Returns
ObtainStyledAttributes(int, int[])
public TypedArray ObtainStyledAttributes(int arg0, int[] arg1)
Parameters
Returns
Exceptions
ObtainStyledAttributes(int[])
public TypedArray ObtainStyledAttributes(int[] arg0)
Parameters
Returns
OpenFileInput(String)
https://developer.android.com/reference/android/content/Context.html#openFileInput(java.lang.String)
public FileInputStream OpenFileInput(String arg0)
Parameters
Returns
Exceptions
OpenFileOutput(String, int)
public FileOutputStream OpenFileOutput(String arg0, int arg1)
Parameters
Returns
Exceptions
OpenOrCreateDatabase(String, int, CursorFactory)
public SQLiteDatabase OpenOrCreateDatabase(String arg0, int arg1, SQLiteDatabase.CursorFactory arg2)
Parameters
arg0
Stringarg1
intarg2
SQLiteDatabase.CursorFactory
Returns
OpenOrCreateDatabase(String, int, CursorFactory, DatabaseErrorHandler)
public SQLiteDatabase OpenOrCreateDatabase(String arg0, int arg1, SQLiteDatabase.CursorFactory arg2, DatabaseErrorHandler arg3)
Parameters
arg0
Stringarg1
intarg2
SQLiteDatabase.CursorFactoryarg3
DatabaseErrorHandler
Returns
PeekWallpaper()
[Obsolete]
public Drawable PeekWallpaper()
Returns
RegisterComponentCallbacks(ComponentCallbacks)
public void RegisterComponentCallbacks(ComponentCallbacks arg0)
Parameters
RegisterDeviceIdChangeListener(Executor, IntConsumer)
public void RegisterDeviceIdChangeListener(Executor arg0, IntConsumer arg1)
Parameters
arg0
Executorarg1
IntConsumer
RegisterReceiver(BroadcastReceiver, IntentFilter)
public Intent RegisterReceiver(BroadcastReceiver arg0, IntentFilter arg1)
Parameters
Returns
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler)
public Intent RegisterReceiver(BroadcastReceiver arg0, IntentFilter arg1, String arg2, Handler arg3)
Parameters
arg0
BroadcastReceiverarg1
IntentFilterarg2
Stringarg3
Handler
Returns
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler, int)
public Intent RegisterReceiver(BroadcastReceiver arg0, IntentFilter arg1, String arg2, Handler arg3, int arg4)
Parameters
arg0
BroadcastReceiverarg1
IntentFilterarg2
Stringarg3
Handlerarg4
int
Returns
RegisterReceiver(BroadcastReceiver, IntentFilter, int)
public Intent RegisterReceiver(BroadcastReceiver arg0, IntentFilter arg1, int arg2)
Parameters
arg0
BroadcastReceiverarg1
IntentFilterarg2
int
Returns
RemoveStickyBroadcast(Intent)
[Obsolete]
public void RemoveStickyBroadcast(Intent arg0)
Parameters
RemoveStickyBroadcastAsUser(Intent, UserHandle)
[Obsolete]
public void RemoveStickyBroadcastAsUser(Intent arg0, UserHandle arg1)
Parameters
arg0
Intentarg1
UserHandle
RevokeSelfPermissionOnKill(String)
public void RevokeSelfPermissionOnKill(String arg0)
Parameters
RevokeSelfPermissionsOnKill(Collection<String>)
public void RevokeSelfPermissionsOnKill(Collection<String> arg0)
Parameters
arg0
Collection<String>
RevokeUriPermission(Uri, int)
public void RevokeUriPermission(Uri arg0, int arg1)
Parameters
RevokeUriPermission(String, Uri, int)
public void RevokeUriPermission(String arg0, Uri arg1, int arg2)
Parameters
SendBroadcast(Intent)
public void SendBroadcast(Intent arg0)
Parameters
SendBroadcast(Intent, String)
public void SendBroadcast(Intent arg0, String arg1)
Parameters
SendBroadcast(Intent, String, Bundle)
public void SendBroadcast(Intent arg0, String arg1, Bundle arg2)
Parameters
SendBroadcastAsUser(Intent, UserHandle)
public void SendBroadcastAsUser(Intent arg0, UserHandle arg1)
Parameters
arg0
Intentarg1
UserHandle
SendBroadcastAsUser(Intent, UserHandle, String)
public void SendBroadcastAsUser(Intent arg0, UserHandle arg1, String arg2)
Parameters
arg0
Intentarg1
UserHandlearg2
String
SendBroadcastWithMultiplePermissions(Intent, String[])
public void SendBroadcastWithMultiplePermissions(Intent arg0, String[] arg1)
Parameters
SendOrderedBroadcast(Intent, String)
public void SendOrderedBroadcast(Intent arg0, String arg1)
Parameters
SendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, int, String, Bundle)
public void SendOrderedBroadcast(Intent arg0, String arg1, BroadcastReceiver arg2, Handler arg3, int arg4, String arg5, Bundle arg6)
Parameters
SendOrderedBroadcast(Intent, String, Bundle)
public void SendOrderedBroadcast(Intent arg0, String arg1, Bundle arg2)
Parameters
SendOrderedBroadcast(Intent, String, Bundle, BroadcastReceiver, Handler, int, String, Bundle)
public void SendOrderedBroadcast(Intent arg0, String arg1, Bundle arg2, BroadcastReceiver arg3, Handler arg4, int arg5, String arg6, Bundle arg7)
Parameters
arg0
Intentarg1
Stringarg2
Bundlearg3
BroadcastReceiverarg4
Handlerarg5
intarg6
Stringarg7
Bundle
SendOrderedBroadcast(Intent, String, String, BroadcastReceiver, Handler, int, String, Bundle)
public void SendOrderedBroadcast(Intent arg0, String arg1, String arg2, BroadcastReceiver arg3, Handler arg4, int arg5, String arg6, Bundle arg7)
Parameters
arg0
Intentarg1
Stringarg2
Stringarg3
BroadcastReceiverarg4
Handlerarg5
intarg6
Stringarg7
Bundle
SendOrderedBroadcastAsUser(Intent, UserHandle, String, BroadcastReceiver, Handler, int, String, Bundle)
public void SendOrderedBroadcastAsUser(Intent arg0, UserHandle arg1, String arg2, BroadcastReceiver arg3, Handler arg4, int arg5, String arg6, Bundle arg7)
Parameters
arg0
Intentarg1
UserHandlearg2
Stringarg3
BroadcastReceiverarg4
Handlerarg5
intarg6
Stringarg7
Bundle
SendStickyBroadcast(Intent)
[Obsolete]
public void SendStickyBroadcast(Intent arg0)
Parameters
SendStickyBroadcast(Intent, Bundle)
[Obsolete]
public void SendStickyBroadcast(Intent arg0, Bundle arg1)
Parameters
SendStickyBroadcastAsUser(Intent, UserHandle)
[Obsolete]
public void SendStickyBroadcastAsUser(Intent arg0, UserHandle arg1)
Parameters
arg0
Intentarg1
UserHandle
SendStickyOrderedBroadcast(Intent, BroadcastReceiver, Handler, int, String, Bundle)
[Obsolete]
public void SendStickyOrderedBroadcast(Intent arg0, BroadcastReceiver arg1, Handler arg2, int arg3, String arg4, Bundle arg5)
Parameters
SendStickyOrderedBroadcastAsUser(Intent, UserHandle, BroadcastReceiver, Handler, int, String, Bundle)
[Obsolete]
public void SendStickyOrderedBroadcastAsUser(Intent arg0, UserHandle arg1, BroadcastReceiver arg2, Handler arg3, int arg4, String arg5, Bundle arg6)
Parameters
arg0
Intentarg1
UserHandlearg2
BroadcastReceiverarg3
Handlerarg4
intarg5
Stringarg6
Bundle
SetTheme(int)
public void SetTheme(int arg0)
Parameters
SetWallpaper(Bitmap)
[Obsolete]
public void SetWallpaper(Bitmap arg0)
Parameters
Exceptions
SetWallpaper(InputStream)
[Obsolete]
public void SetWallpaper(InputStream arg0)
Parameters
arg0
InputStream
Exceptions
StartActivities(Intent[])
public void StartActivities(Intent[] arg0)
Parameters
StartActivities(Intent[], Bundle)
public void StartActivities(Intent[] arg0, Bundle arg1)
Parameters
StartActivity(Intent)
public void StartActivity(Intent arg0)
Parameters
StartActivity(Intent, Bundle)
public void StartActivity(Intent arg0, Bundle arg1)
Parameters
StartForegroundService(Intent)
public ComponentName StartForegroundService(Intent arg0)
Parameters
Returns
StartInstrumentation(ComponentName, String, Bundle)
public bool StartInstrumentation(ComponentName arg0, String arg1, Bundle arg2)
Parameters
arg0
ComponentNamearg1
Stringarg2
Bundle
Returns
StartIntentSender(IntentSender, Intent, int, int, int)
public void StartIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4)
Parameters
arg0
IntentSenderarg1
Intentarg2
intarg3
intarg4
int
Exceptions
StartIntentSender(IntentSender, Intent, int, int, int, Bundle)
public void StartIntentSender(IntentSender arg0, Intent arg1, int arg2, int arg3, int arg4, Bundle arg5)
Parameters
Exceptions
StartService(Intent)
public ComponentName StartService(Intent arg0)
Parameters
Returns
StopService(Intent)
public bool StopService(Intent arg0)
Parameters
Returns
UnbindService(ServiceConnection)
public void UnbindService(ServiceConnection arg0)
Parameters
UnregisterComponentCallbacks(ComponentCallbacks)
public void UnregisterComponentCallbacks(ComponentCallbacks arg0)
Parameters
UnregisterDeviceIdChangeListener(IntConsumer)
public void UnregisterDeviceIdChangeListener(IntConsumer arg0)
Parameters
arg0
IntConsumer
UnregisterReceiver(BroadcastReceiver)
public void UnregisterReceiver(BroadcastReceiver arg0)
Parameters
UpdateServiceGroup(ServiceConnection, int, int)
public void UpdateServiceGroup(ServiceConnection arg0, int arg1, int arg2)
Parameters
arg0
ServiceConnectionarg1
intarg2
int