Context Context Class

Definition

Interface to global information about an application environment.

[Android.Runtime.Register("android/content/Context", ApiSince=1, DoNotGenerateAcw=true)]
public abstract class Context : Java.Lang.Object
type Context = class
    inherit Object
Inheritance
ContextContext
Derived
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

Context() Context()
Context(IntPtr, JniHandleOwnership) Context(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

AccessibilityService AccessibilityService

Use with GetSystemService(String) to retrieve a AccessibilityManager for giving the user feedback for UI events through the registered event listeners.

AccountService AccountService

Use with GetSystemService(String) to retrieve a AccountManager for receiving intents at a time of your choosing.

ActivityService ActivityService

Use with GetSystemService(String) to retrieve a ActivityManager for interacting with the global system state.

AlarmService AlarmService

Use with GetSystemService(String) to retrieve a AlarmManager for receiving intents at a time of your choosing.

AppOpsService AppOpsService

Use with GetSystemService(String) to retrieve a AppOpsManager for tracking application operations on the device.

AppwidgetService AppwidgetService

Use with GetSystemService(String) to retrieve a AppWidgetManager for accessing AppWidgets.

AudioService AudioService

Use with GetSystemService(String) to retrieve a AudioManager for handling management of volume, ringer modes and audio routing.

BatteryService BatteryService

Use with GetSystemService(String) to retrieve a BatteryManager for managing battery state.

BluetoothService BluetoothService

Use with GetSystemService(String) to retrieve a BluetoothManager for using Bluetooth.

CameraService CameraService

Use with GetSystemService(String) to retrieve a CameraManager for interacting with camera devices.

CaptioningService CaptioningService

Use with GetSystemService(String) to retrieve a CaptioningManager for obtaining captioning properties and listening for changes in captioning preferences.

CarrierConfigService CarrierConfigService
ClipboardService ClipboardService

Use with GetSystemService(String) to retrieve a ClipboardManager for accessing and modifying ClipboardManager for accessing and modifying the contents of the global clipboard.

CompanionDeviceService CompanionDeviceService
ConnectivityService ConnectivityService

Use with GetSystemService(String) to retrieve a ConnectivityManager for handling management of network connections.

ConsumerIrService ConsumerIrService

Use with GetSystemService(String) to retrieve a ConsumerIrManager for transmitting infrared signals from the device.

DevicePolicyService DevicePolicyService

Use with GetSystemService(String) to retrieve a DevicePolicyManager for working with global device policy management.

DisplayService DisplayService

Use with GetSystemService(String) to retrieve a DisplayManager for interacting with display devices.

DownloadService DownloadService

Use with GetSystemService(String) to retrieve a DownloadManager for requesting HTTP downloads.

DropboxService DropboxService

Use with GetSystemService(String) to retrieve a DropBoxManager instance for recording diagnostic logs.

FingerprintService FingerprintService
HardwarePropertiesService HardwarePropertiesService
InputMethodService InputMethodService

Use with GetSystemService(String) to retrieve a InputMethodManager for accessing input methods.

InputService InputService

Use with GetSystemService(String) to retrieve a InputManager for interacting with input devices.

JobSchedulerService JobSchedulerService

Use with GetSystemService(String) to retrieve a JobScheduler instance for managing occasional background tasks.

KeyguardService KeyguardService

Use with GetSystemService(String) to retrieve a NotificationManager for controlling keyguard.

LauncherAppsService LauncherAppsService

Use with GetSystemService(String) to retrieve a LauncherApps for querying and monitoring launchable apps across profiles of a user.

LayoutInflaterService LayoutInflaterService

Use with GetSystemService(String) to retrieve a LayoutInflater for inflating layout resources in this context.

LocationService LocationService

Use with GetSystemService(String) to retrieve a LocationManager for controlling location updates.

MediaProjectionService MediaProjectionService

Use with GetSystemService(String) to retrieve a MediaProjectionManager instance for managing media projection sessions.

MediaRouterService MediaRouterService

Use with GetSystemService(String) to retrieve a MediaRouter for controlling and managing routing of media.

MediaSessionService MediaSessionService

Use with GetSystemService(String) to retrieve a MediaSessionManager for managing media Sessions.

MidiService MidiService
NetworkStatsService NetworkStatsService
NfcService NfcService

Use with GetSystemService(String) to retrieve a NfcManager for using NFC.

NotificationService NotificationService

Use with GetSystemService(String) to retrieve a NotificationManager for informing the user of background events.

NsdService NsdService

Use with GetSystemService(String) to retrieve a NsdManager for handling management of network service discovery

PowerService PowerService

Use with GetSystemService(String) to retrieve a PowerManager for controlling power management, including "wake locks," which let you keep the device on while you're running long tasks.

PrintService PrintService

PrintManager for printing and managing printers and print tasks.

ReceiverVisibleToInstantApps ReceiverVisibleToInstantApps
RestrictionsService RestrictionsService

Use with GetSystemService(String) to retrieve a RestrictionsManager for retrieving application restrictions and requesting permissions for restricted operations.

SearchService SearchService

Use with GetSystemService(String) to retrieve a SearchManager for handling searches.

SensorService SensorService

Use with GetSystemService(String) to retrieve a SensorManager for accessing sensors.

ShortcutService ShortcutService
StorageService StorageService

Use with GetSystemService(String) to retrieve a StorageManager for accessing system storage functions.

StorageStatsService StorageStatsService
SystemHealthService SystemHealthService
TelecomService TelecomService

Use with GetSystemService(String) to retrieve a TelecomManager to manage telecom-related features of the device.

TelephonyService TelephonyService

Use with GetSystemService(String) to retrieve a TelephonyManager for handling management the telephony features of the device.

TelephonySubscriptionService TelephonySubscriptionService
TextClassificationService TextClassificationService
TextServicesManagerService TextServicesManagerService

Use with GetSystemService(String) to retrieve a TextServicesManager for accessing text services.

TvInputService TvInputService

Use with GetSystemService(String) to retrieve a TvInputManager for interacting with TV inputs on the device.

UiModeService UiModeService

Use with GetSystemService(String) to retrieve a UiModeManager for controlling UI modes.

UsageStatsService UsageStatsService
UsbService UsbService

Use with GetSystemService(String) to retrieve a UsbManager for access to USB devices (as a USB host) and for controlling this device's behavior as a USB device.

UserService UserService

Use with GetSystemService(String) to retrieve a UserManager for managing users on devices that support multiple users.

VibratorService VibratorService

Use with GetSystemService(String) to retrieve a Vibrator for interacting with the vibration hardware.

WallpaperService WallpaperService

Use with GetSystemService(String) to retrieve a com.android.server.

WifiAwareService WifiAwareService
WifiP2pService WifiP2pService

Use with GetSystemService(String) to retrieve a WifiP2pManager for handling management of Wi-Fi peer-to-peer connections.

WifiService WifiService

Use with GetSystemService(String) to retrieve a WifiManager for handling management of Wi-Fi access.

WindowService WindowService

Use with GetSystemService(String) to retrieve a IWindowManager for accessing the system's window manager.

Properties

ApplicationContext ApplicationContext

Return the context of the single, global Application object of the current process.

ApplicationInfo ApplicationInfo

Return the full application info for this context's package.

Assets Assets

Return an AssetManager instance for your application's package.

CacheDir CacheDir

Returns the absolute path to the application specific cache directory on the filesystem.

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
ClassLoader ClassLoader

Return a class loader you can use to retrieve classes in this package.

CodeCacheDir CodeCacheDir

Returns the absolute path to the application specific cache directory on the filesystem designed for storing cached code.

ContentResolver ContentResolver

Return a ContentResolver instance for your application's package.

DataDir DataDir
ExternalCacheDir ExternalCacheDir

Returns the absolute path to the directory on the primary external filesystem (that is somewhere on ExternalStorageDirectory where the application can place cache files it owns.

FilesDir FilesDir

Returns the absolute path to the directory on the filesystem where files created with OpenFileOutput(String, FileCreationMode) are stored.

Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
IsDeviceProtectedStorage IsDeviceProtectedStorage
IsRestricted IsRestricted

Indicates whether this Context is restricted.

JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
MainLooper MainLooper

Return the Looper for the main thread of the current process.

NoBackupFilesDir NoBackupFilesDir

Returns the absolute path to the directory on the filesystem similar to FilesDir.

ObbDir ObbDir

Return the primary external storage directory where this application's OBB files (if there are any) can be found.

PackageCodePath PackageCodePath

Return the full path to this context's primary Android package.

PackageManager PackageManager

Return PackageManager instance to find global package information.

PackageName PackageName

Return the name of this application's package.

PackageResourcePath PackageResourcePath

Return the full path to this context's primary Android package.

PeerReference PeerReference Inherited from Object
Resources Resources

Return a Resources instance for your application's package.

Theme Theme

Return the Theme object associated with this Context.

ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Wallpaper Wallpaper
WallpaperDesiredMinimumHeight WallpaperDesiredMinimumHeight
WallpaperDesiredMinimumWidth WallpaperDesiredMinimumWidth

Methods

BindService(Intent, IServiceConnection, Bind) BindService(Intent, IServiceConnection, Bind)

Connect to an application service, creating it if needed.

CheckCallingOrSelfPermission(String) CheckCallingOrSelfPermission(String)

Determine whether the calling process of an IPC or you have been granted a particular permission.

CheckCallingOrSelfUriPermission(Uri, ActivityFlags) CheckCallingOrSelfUriPermission(Uri, ActivityFlags)

Determine whether the calling process of an IPC or you has been granted permission to access a specific URI.

CheckCallingPermission(String) CheckCallingPermission(String)

Determine whether the calling process of an IPC you are handling has been granted a particular permission.

CheckCallingUriPermission(Uri, ActivityFlags) CheckCallingUriPermission(Uri, ActivityFlags)

Determine whether the calling process and user ID has been granted permission to access a specific URI.

CheckPermission(String, Int32, Int32) CheckPermission(String, Int32, Int32)

Determine whether the given permission is allowed for a particular process and user ID running in the system.

CheckSelfPermission(String) CheckSelfPermission(String)
CheckUriPermission(Uri, Int32, Int32, ActivityFlags) CheckUriPermission(Uri, Int32, Int32, ActivityFlags)

Determine whether a particular process and user ID has been granted permission to access a specific URI.

CheckUriPermission(Uri, String, String, Int32, Int32, ActivityFlags) CheckUriPermission(Uri, String, String, Int32, Int32, ActivityFlags)

Check both a Uri and normal permission.

ClearWallpaper() ClearWallpaper()
Clone() Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
CreateConfigurationContext(Configuration) CreateConfigurationContext(Configuration)

Return a new Context object for the current Context but whose resources are adjusted to match the given Configuration.

CreateContextForSplit(String) CreateContextForSplit(String)
CreateDeviceProtectedStorageContext() CreateDeviceProtectedStorageContext()
CreateDisplayContext(Display) CreateDisplayContext(Display)

Return a new Context object for the current Context but whose resources are adjusted to match the metrics of the given Display.

CreatePackageContext(String, PackageContextFlags) CreatePackageContext(String, PackageContextFlags)

Return a new Context object for the given application name.

DatabaseList() DatabaseList()

Returns an array of strings naming the private databases associated with this Context's application package.

DeleteDatabase(String) DeleteDatabase(String)

Delete an existing private SQLiteDatabase associated with this Context's application package.

DeleteFile(String) DeleteFile(String)

Delete the given private file associated with this Context's application package.

DeleteSharedPreferences(String) DeleteSharedPreferences(String)
Dispose() Dispose() Inherited from Object
Dispose(Boolean) Dispose(Boolean) Inherited from Object
EnforceCallingOrSelfPermission(String, String) EnforceCallingOrSelfPermission(String, String)

If neither you nor the calling process of an IPC you are handling has been granted a particular permission, throw a SecurityException.

EnforceCallingOrSelfUriPermission(Uri, ActivityFlags, String) EnforceCallingOrSelfUriPermission(Uri, ActivityFlags, String)

If the calling process of an IPC or you has not been granted permission to access a specific URI, throw SecurityException.

EnforceCallingPermission(String, String) EnforceCallingPermission(String, String)

If the calling process of an IPC you are handling has not been granted a particular permission, throw a SecurityException.

EnforceCallingUriPermission(Uri, ActivityFlags, String) EnforceCallingUriPermission(Uri, ActivityFlags, String)

If the calling process and user ID has not been granted permission to access a specific URI, throw SecurityException.

EnforcePermission(String, Int32, Int32, String) EnforcePermission(String, Int32, Int32, String)

If the given permission is not allowed for a particular process and user ID running in the system, throw a SecurityException.

EnforceUriPermission(Uri, Int32, Int32, ActivityFlags, String) EnforceUriPermission(Uri, Int32, Int32, ActivityFlags, String)

If a particular process and user ID has not been granted permission to access a specific URI, throw SecurityException.

EnforceUriPermission(Uri, String, String, Int32, Int32, ActivityFlags, String) EnforceUriPermission(Uri, String, String, Int32, Int32, ActivityFlags, String)

Enforce both a Uri and normal permission.

Equals(Object) Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
FileList() FileList()

Returns an array of strings naming the private files associated with this Context's application package.

GetColor(Int32) GetColor(Int32)
GetColorStateList(Int32) GetColorStateList(Int32)
GetDatabasePath(String) GetDatabasePath(String)
GetDir(String, FileCreationMode) GetDir(String, FileCreationMode)

Retrieve, creating if needed, a new directory in which the application can place its own custom data files.

GetDrawable(Int32) GetDrawable(Int32)

Returns a drawable object associated with a particular resource ID and styled for the current theme.

GetExternalCacheDirs() GetExternalCacheDirs()

Returns absolute paths to application-specific directories on all external storage devices where the application can place cache files it owns.

GetExternalFilesDir(String) GetExternalFilesDir(String)

Returns the absolute path to the directory on the primary external filesystem (that is somewhere on ExternalStorageDirectory) where the application can place persistent files it owns.

GetExternalFilesDirs(String) GetExternalFilesDirs(String)

Returns absolute paths to application-specific directories on all external storage devices where the application can place persistent files it owns.

GetExternalMediaDirs() GetExternalMediaDirs()

Returns absolute paths to application-specific directories on all external storage devices where the application can place media files.

GetFileStreamPath(String) GetFileStreamPath(String)

Returns the absolute path on the filesystem where a file created with OpenFileOutput(String, FileCreationMode) is stored.

GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetObbDirs() GetObbDirs()

Returns absolute paths to application-specific directories on all external storage devices where the application's OBB files (if there are any) can be found.

GetSharedPreferences(String, FileCreationMode) GetSharedPreferences(String, FileCreationMode)

Retrieve and hold the contents of the preferences file 'name', returning a SharedPreferences through which you can retrieve and modify its values.

GetString(Int32) GetString(Int32)

Returns a localized string from the application's package's default string table.

GetString(Int32, Object[]) GetString(Int32, Object[])
GetSystemService(Class) GetSystemService(Class)
GetSystemService(String) GetSystemService(String)

Return the handle to a system-level service by name.

GetSystemServiceName(Class) GetSystemServiceName(Class)
GetText(Int32) GetText(Int32)
GetTextFormatted(Int32) GetTextFormatted(Int32)

Return a localized, styled CharSequence from the application's package's default string table.

GrantUriPermission(String, Uri, ActivityFlags) GrantUriPermission(String, Uri, ActivityFlags)

Grant permission to access a specific Uri to another package, regardless of whether that package has general permission to access the Uri's content provider.

JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
MoveDatabaseFrom(Context, String) MoveDatabaseFrom(Context, String)
MoveSharedPreferencesFrom(Context, String) MoveSharedPreferencesFrom(Context, String)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
ObtainStyledAttributes(IAttributeSet, Int32[]) ObtainStyledAttributes(IAttributeSet, Int32[])

Retrieve styled attribute information in this Context's theme.

ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32) ObtainStyledAttributes(IAttributeSet, Int32[], Int32, Int32)

Retrieve styled attribute information in this Context's theme.

ObtainStyledAttributes(Int32, Int32[]) ObtainStyledAttributes(Int32, Int32[])

Retrieve styled attribute information in this Context's theme.

ObtainStyledAttributes(Int32[]) ObtainStyledAttributes(Int32[])

Retrieve styled attribute information in this Context's theme.

OpenFileInput(String) OpenFileInput(String)

Open a private file associated with this Context's application package for reading.

OpenFileOutput(String, FileCreationMode) OpenFileOutput(String, FileCreationMode)

Open a private file associated with this Context's application package for writing.

OpenOrCreateDatabase(String, FileCreationMode, SQLiteDatabase+ICursorFactory) OpenOrCreateDatabase(String, FileCreationMode, SQLiteDatabase+ICursorFactory)

Open a new private SQLiteDatabase associated with this Context's application package.

OpenOrCreateDatabase(String, FileCreationMode, SQLiteDatabase+ICursorFactory, IDatabaseErrorHandler) OpenOrCreateDatabase(String, FileCreationMode, SQLiteDatabase+ICursorFactory, IDatabaseErrorHandler)

Open a new private SQLiteDatabase associated with this Context's application package.

PeekWallpaper() PeekWallpaper()
RegisterComponentCallbacks(IComponentCallbacks) RegisterComponentCallbacks(IComponentCallbacks)

Add a new IComponentCallbacks to the base application of the Context, which will be called at the same times as the ComponentCallbacks methods of activities and other components are called.

RegisterReceiver(BroadcastReceiver, IntentFilter) RegisterReceiver(BroadcastReceiver, IntentFilter)

Register a BroadcastReceiver to be run in the main activity thread.

RegisterReceiver(BroadcastReceiver, IntentFilter, ActivityFlags) RegisterReceiver(BroadcastReceiver, IntentFilter, ActivityFlags)
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler) RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler)

scheduler

RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler, ActivityFlags) RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler, ActivityFlags)
RemoveStickyBroadcast(Intent) RemoveStickyBroadcast(Intent)
RemoveStickyBroadcastAsUser(Intent, UserHandle) RemoveStickyBroadcastAsUser(Intent, UserHandle)
RevokeUriPermission(String, Uri, ActivityFlags) RevokeUriPermission(String, Uri, ActivityFlags)
RevokeUriPermission(Uri, ActivityFlags) RevokeUriPermission(Uri, ActivityFlags)

M:Android.Content.Context.GrantUriPermission(System.String,Android.Net.Uri,Android.Net.Uri)

SendBroadcast(Intent) SendBroadcast(Intent)

Broadcast the given intent to all interested BroadcastReceivers.

SendBroadcast(Intent, String) SendBroadcast(Intent, String)

Broadcast the given intent to all interested BroadcastReceivers, allowing an optional required permission to be enforced.

SendBroadcastAsUser(Intent, UserHandle) SendBroadcastAsUser(Intent, UserHandle)

Version of SendBroadcast(Intent) that allows you to specify the user the broadcast will be sent to.

SendBroadcastAsUser(Intent, UserHandle, String) SendBroadcastAsUser(Intent, UserHandle, String)

Version of SendBroadcast(Intent, String) that allows you to specify the user the broadcast will be sent to.

SendOrderedBroadcast(Intent, String) SendOrderedBroadcast(Intent, String)
SendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, Result, String, Bundle) SendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, Result, String, Bundle)

Version of SendBroadcast(Intent) that allows you to receive data back from the broadcast.

SendOrderedBroadcastAsUser(Intent, UserHandle, String, BroadcastReceiver, Handler, Result, String, Bundle) SendOrderedBroadcastAsUser(Intent, UserHandle, String, BroadcastReceiver, Handler, Result, String, Bundle)
SendStickyBroadcast(Intent) SendStickyBroadcast(Intent)
SendStickyBroadcastAsUser(Intent, UserHandle) SendStickyBroadcastAsUser(Intent, UserHandle)
SendStickyOrderedBroadcast(Intent, BroadcastReceiver, Handler, Result, String, Bundle) SendStickyOrderedBroadcast(Intent, BroadcastReceiver, Handler, Result, String, Bundle)
SendStickyOrderedBroadcastAsUser(Intent, UserHandle, BroadcastReceiver, Handler, Result, String, Bundle) SendStickyOrderedBroadcastAsUser(Intent, UserHandle, BroadcastReceiver, Handler, Result, String, Bundle)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetTheme(Int32) SetTheme(Int32)

Set the base theme for this context.

SetWallpaper(Bitmap) SetWallpaper(Bitmap)
SetWallpaper(Stream) SetWallpaper(Stream)
StartActivities(Intent[]) StartActivities(Intent[])

Same as StartActivities(Intent[], Bundle) with no options specified.

StartActivities(Intent[], Bundle) StartActivities(Intent[], Bundle)

Launch multiple new activities.

StartActivity(Intent) StartActivity(Intent)

Same as StartActivity(Intent, Bundle) with no options specified.

StartActivity(Intent, Bundle) StartActivity(Intent, Bundle)

Launch a new activity.

StartActivity(Type) StartActivity(Type)
StartForegroundService(Intent) StartForegroundService(Intent)
StartInstrumentation(ComponentName, String, Bundle) StartInstrumentation(ComponentName, String, Bundle)

Start executing an Instrumentation class.

StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32) StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32)
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32, Bundle) StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32, Bundle)

Like StartActivity(Intent, Bundle), but taking a IntentSender to start.

StartService(Intent) StartService(Intent)

Request that a given application service be started.

StopService(Intent) StopService(Intent)

Request that a given application service be stopped.

ToArray<T>() ToArray<T>() Inherited from Object
ToString() ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnbindService(IServiceConnection) UnbindService(IServiceConnection)

Disconnect from an application service.

UnregisterComponentCallbacks(IComponentCallbacks) UnregisterComponentCallbacks(IComponentCallbacks)

Remove a IComponentCallbacks object that was previously registered with RegisterComponentCallbacks(IComponentCallbacks).

UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Object
UnregisterReceiver(BroadcastReceiver) UnregisterReceiver(BroadcastReceiver)

Unregister a previously registered BroadcastReceiver.

Wait() Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Object
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Object
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Object
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Object
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Object
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Object
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Object

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to