Sdílet prostřednictvím


ExpandableListActivity Class

Definition

An activity that displays an expandable list of items by binding to a data source implementing the ExpandableListAdapter, and exposes event handlers when the user selects an item.

[Android.Runtime.Register("android/app/ExpandableListActivity", DoNotGenerateAcw=true)]
public class ExpandableListActivity : Android.App.Activity, Android.Widget.ExpandableListView.IOnChildClickListener, Android.Widget.ExpandableListView.IOnGroupCollapseListener, Android.Widget.ExpandableListView.IOnGroupExpandListener, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/app/ExpandableListActivity", DoNotGenerateAcw=true)>]
type ExpandableListActivity = class
    inherit Activity
    interface View.IOnCreateContextMenuListener
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
    interface ExpandableListView.IOnChildClickListener
    interface ExpandableListView.IOnGroupCollapseListener
    interface ExpandableListView.IOnGroupExpandListener
Inheritance
Attributes
Implements

Remarks

An activity that displays an expandable list of items by binding to a data source implementing the ExpandableListAdapter, and exposes event handlers when the user selects an item.

ExpandableListActivity hosts a android.widget.ExpandableListView ExpandableListView object that can be bound to different data sources that provide a two-levels of data (the top-level is group, and below each group are children). Binding, screen layout, and row layout are discussed in the following sections.

<strong>Screen Layout</strong>

ExpandableListActivity has a default layout that consists of a single, full-screen, centered expandable list. However, if you desire, you can customize the screen layout by setting your own view layout with setContentView() in onCreate(). To do this, your own view MUST contain an ExpandableListView object with the id "

This member is deprecated. Use androidx.recyclerview.widget.RecyclerView or use android.widget.ExpandableListView directly

Java documentation for android.app.ExpandableListActivity.

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

ExpandableListActivity()
ExpandableListActivity(IntPtr, JniHandleOwnership)

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

Fields

AccessibilityService

Use with #getSystemService(String) to retrieve a android.view.accessibility.AccessibilityManager for giving the user feedback for UI events through the registered event listeners.

(Inherited from Context)
AccountService

Use with #getSystemService(String) to retrieve a android.accounts.AccountManager for receiving intents at a time of your choosing.

(Inherited from Context)
ActivityService

Use with #getSystemService(String) to retrieve a android.app.ActivityManager for interacting with the global system state.

(Inherited from Context)
AlarmService

Use with #getSystemService(String) to retrieve a android.app.AlarmManager for receiving intents at a time of your choosing.

(Inherited from Context)
AppOpsService

Use with #getSystemService(String) to retrieve a android.app.AppOpsManager for tracking application operations on the device.

(Inherited from Context)
AppSearchService

Use with #getSystemService(String) to retrieve an android.app.appsearch.AppSearchManager for indexing and querying app data managed by the system.

(Inherited from Context)
AppwidgetService

Use with #getSystemService(String) to retrieve a android.appwidget.AppWidgetManager for accessing AppWidgets.

(Inherited from Context)
AudioService

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

(Inherited from Context)
BatteryService

Use with #getSystemService(String) to retrieve a android.os.BatteryManager for managing battery state.

(Inherited from Context)
BindAllowActivityStarts
Obsolete.

Flag for #bindService: If binding from an app that is visible, the bound service is allowed to start an activity from background.

(Inherited from Context)
BindExternalServiceLong

Works in the same way as #BIND_EXTERNAL_SERVICE, but it's defined as a (

(Inherited from Context)
BindNotPerceptible
Obsolete.

Flag for #bindService: If binding from an app that is visible or user-perceptible, lower the target service's importance to below the perceptible level.

(Inherited from Context)
BindSharedIsolatedProcess
Obsolete.

Flag for #bindIsolatedService: Bind the service into a shared isolated process.

(Inherited from Context)
BiometricService

Use with #getSystemService(String) to retrieve a android.hardware.biometrics.BiometricManager for handling biometric and PIN/pattern/password authentication.

(Inherited from Context)
BlobStoreService

Use with #getSystemService(String) to retrieve a android.app.blob.BlobStoreManager for contributing and accessing data blobs from the blob store maintained by the system.

(Inherited from Context)
BluetoothService

Use with #getSystemService(String) to retrieve a android.bluetooth.BluetoothManager for using Bluetooth.

(Inherited from Context)
BugreportService

Service to capture a bugreport.

(Inherited from Context)
CameraService

Use with #getSystemService(String) to retrieve a android.hardware.camera2.CameraManager for interacting with camera devices.

(Inherited from Context)
CaptioningService

Use with #getSystemService(String) to retrieve a android.view.accessibility.CaptioningManager for obtaining captioning properties and listening for changes in captioning preferences.

(Inherited from Context)
CarrierConfigService

Use with #getSystemService(String) to retrieve a android.telephony.CarrierConfigManager for reading carrier configuration values.

(Inherited from Context)
ClipboardService

Use with #getSystemService(String) to retrieve a android.content.ClipboardManager for accessing and modifying the contents of the global clipboard.

(Inherited from Context)
CompanionDeviceService

Use with #getSystemService(String) to retrieve a android.companion.CompanionDeviceManager for managing companion devices

(Inherited from Context)
ConnectivityDiagnosticsService

Use with #getSystemService(String) to retrieve a android.net.ConnectivityDiagnosticsManager for performing network connectivity diagnostics as well as receiving network connectivity information from the system.

(Inherited from Context)
ConnectivityService

Use with #getSystemService(String) to retrieve a android.net.ConnectivityManager for handling management of network connections.

(Inherited from Context)
ConsumerIrService

Use with #getSystemService(String) to retrieve a android.hardware.ConsumerIrManager for transmitting infrared signals from the device.

(Inherited from Context)
CredentialService

Use with #getSystemService(String) to retrieve a android.credentials.CredentialManager to authenticate a user to your app.

(Inherited from Context)
CrossProfileAppsService

Use with #getSystemService(String) to retrieve a android.content.pm.CrossProfileApps for cross profile operations.

(Inherited from Context)
DeviceIdDefault

The default device ID, which is the ID of the primary (non-virtual) device.

(Inherited from Context)
DeviceIdInvalid

Invalid device ID.

(Inherited from Context)
DeviceLockService

Use with #getSystemService(String) to retrieve a android.devicelock.DeviceLockManager.

(Inherited from Context)
DevicePolicyService

Use with #getSystemService(String) to retrieve a android.app.admin.DevicePolicyManager for working with global device policy management.

(Inherited from Context)
DisplayHashService

Use with #getSystemService(String) to access android.view.displayhash.DisplayHashManager to handle display hashes.

(Inherited from Context)
DisplayService

Use with #getSystemService(String) to retrieve a android.hardware.display.DisplayManager for interacting with display devices.

(Inherited from Context)
DomainVerificationService

Use with #getSystemService(String) to access android.content.pm.verify.domain.DomainVerificationManager to retrieve approval and user state for declared web domains.

(Inherited from Context)
DownloadService

Use with #getSystemService(String) to retrieve a android.app.DownloadManager for requesting HTTP downloads.

(Inherited from Context)
DropboxService

Use with #getSystemService(String) to retrieve a android.os.DropBoxManager instance for recording diagnostic logs.

(Inherited from Context)
EuiccService

Use with #getSystemService(String) to retrieve a android.telephony.euicc.EuiccManager to manage the device eUICC (embedded SIM).

(Inherited from Context)
FileIntegrityService

Use with #getSystemService(String) to retrieve an android.security.FileIntegrityManager.

(Inherited from Context)
FingerprintService

Use with #getSystemService(String) to retrieve a android.hardware.fingerprint.FingerprintManager for handling management of fingerprints.

(Inherited from Context)
FullscreenModeRequestEnter
Obsolete.

Request type of #requestFullscreenMode(int, OutcomeReceiver), to request enter fullscreen mode from multi-window mode.

(Inherited from Activity)
FullscreenModeRequestExit
Obsolete.

Request type of #requestFullscreenMode(int, OutcomeReceiver), to request exiting the requested fullscreen mode and restore to the previous multi-window mode.

(Inherited from Activity)
GameService

Use with #getSystemService(String) to retrieve a GameManager.

(Inherited from Context)
GrammaticalInflectionService

Use with #getSystemService(String) to retrieve a GrammaticalInflectionManager.

(Inherited from Context)
HardwarePropertiesService

Use with #getSystemService(String) to retrieve a android.os.HardwarePropertiesManager for accessing the hardware properties service.

(Inherited from Context)
HealthconnectService

Use with #getSystemService(String) to retrieve a android.health.connect.HealthConnectManager.

(Inherited from Context)
InputMethodService

Use with #getSystemService(String) to retrieve a android.view.inputmethod.InputMethodManager for accessing input methods.

(Inherited from Context)
InputService

Use with #getSystemService(String) to retrieve a android.hardware.input.InputManager for interacting with input devices.

(Inherited from Context)
IpsecService

Use with #getSystemService(String) to retrieve a android.net.IpSecManager for encrypting Sockets or Networks with IPSec.

(Inherited from Context)
JobSchedulerService

Use with #getSystemService(String) to retrieve a android.app.job.JobScheduler instance for managing occasional background tasks.

(Inherited from Context)
KeyguardService

Use with #getSystemService(String) to retrieve a android.app.KeyguardManager for controlling keyguard.

(Inherited from Context)
LauncherAppsService

Use with #getSystemService(String) to retrieve a android.content.pm.LauncherApps for querying and monitoring launchable apps across profiles of a user.

(Inherited from Context)
LayoutInflaterService

Use with #getSystemService(String) to retrieve a android.view.LayoutInflater for inflating layout resources in this context.

(Inherited from Context)
LocaleService

Use with #getSystemService(String) to retrieve a android.app.LocaleManager.

(Inherited from Context)
LocationService

Use with #getSystemService(String) to retrieve a android.location.LocationManager for controlling location updates.

(Inherited from Context)
MediaCommunicationService

Use with #getSystemService(String) to retrieve a android.media.MediaCommunicationManager for managing android.media.MediaSession2.

(Inherited from Context)
MediaMetricsService

Use with #getSystemService(String) to retrieve a android.media.metrics.MediaMetricsManager for interacting with media metrics on the device.

(Inherited from Context)
MediaProjectionService

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

(Inherited from Context)
MediaRouterService

Use with #getSystemService to retrieve a android.media.MediaRouter for controlling and managing routing of media.

(Inherited from Context)
MediaSessionService

Use with #getSystemService(String) to retrieve a android.media.session.MediaSessionManager for managing media Sessions.

(Inherited from Context)
MidiService

Use with #getSystemService(String) to retrieve a android.media.midi.MidiManager for accessing the MIDI service.

(Inherited from Context)
NetworkStatsService

Use with #getSystemService(String) to retrieve a android.app.usage.NetworkStatsManager for querying network usage stats.

(Inherited from Context)
NfcService

Use with #getSystemService(String) to retrieve a android.nfc.NfcManager for using NFC.

(Inherited from Context)
NotificationService

Use with #getSystemService(String) to retrieve a android.app.NotificationManager for informing the user of background events.

(Inherited from Context)
NsdService

Use with #getSystemService(String) to retrieve a android.net.nsd.NsdManager for handling management of network service discovery

(Inherited from Context)
OverlayService

Use with #getSystemService(String) to retrieve a android.content.om.OverlayManager for managing overlay packages.

(Inherited from Context)
OverrideTransitionClose
Obsolete.

Request type of #overrideActivityTransition(int, int, int) or #overrideActivityTransition(int, int, int, int), to override the closing transition.

(Inherited from Activity)
OverrideTransitionOpen
Obsolete.

Request type of #overrideActivityTransition(int, int, int) or #overrideActivityTransition(int, int, int, int), to override the opening transition.

(Inherited from Activity)
PeopleService

Use with #getSystemService(String) to access a PeopleManager to interact with your published conversations.

(Inherited from Context)
PerformanceHintService

Use with #getSystemService(String) to retrieve a android.os.PerformanceHintManager for accessing the performance hinting service.

(Inherited from Context)
PowerService

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

(Inherited from Context)
PrintService

android.print.PrintManager for printing and managing printers and print tasks.

(Inherited from Context)
ReceiverExported
Obsolete.

Flag for #registerReceiver: The receiver can receive broadcasts from other Apps.

(Inherited from Context)
ReceiverNotExported
Obsolete.

Flag for #registerReceiver: The receiver cannot receive broadcasts from other Apps.

(Inherited from Context)
ReceiverVisibleToInstantApps
Obsolete.

Flag for #registerReceiver: The receiver can receive broadcasts from Instant Apps.

(Inherited from Context)
RestrictionsService

Use with #getSystemService(String) to retrieve a android.content.RestrictionsManager for retrieving application restrictions and requesting permissions for restricted operations.

(Inherited from Context)
RoleService

Use with #getSystemService(String) to retrieve a android.app.role.RoleManager for managing roles.

(Inherited from Context)
SearchService

Use with #getSystemService(String) to retrieve a android.app.SearchManager for handling searches.

(Inherited from Context)
SensorService

Use with #getSystemService(String) to retrieve a android.hardware.SensorManager for accessing sensors.

(Inherited from Context)
ShortcutService

Use with #getSystemService(String) to retrieve a android.content.pm.ShortcutManager for accessing the launcher shortcut service.

(Inherited from Context)
StatusBarService

Use with #getSystemService(String) to retrieve a android.app.StatusBarManager for interacting with the status bar and quick settings.

(Inherited from Context)
StorageService

Use with #getSystemService(String) to retrieve a android.os.storage.StorageManager for accessing system storage functions.

(Inherited from Context)
StorageStatsService

Use with #getSystemService(String) to retrieve a android.app.usage.StorageStatsManager for accessing system storage statistics.

(Inherited from Context)
SystemHealthService

Use with #getSystemService(String) to retrieve a android.os.health.SystemHealthManager for accessing system health (battery, power, memory, etc) metrics.

(Inherited from Context)
TelecomService

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

(Inherited from Context)
TelephonyImsService

Use with #getSystemService(String) to retrieve an android.telephony.ims.ImsManager.

(Inherited from Context)
TelephonyService

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

(Inherited from Context)
TelephonySubscriptionService

Use with #getSystemService(String) to retrieve a android.telephony.SubscriptionManager for handling management the telephony subscriptions of the device.

(Inherited from Context)
TextClassificationService

Use with #getSystemService(String) to retrieve a TextClassificationManager for text classification services.

(Inherited from Context)
TextServicesManagerService

Use with #getSystemService(String) to retrieve a android.view.textservice.TextServicesManager for accessing text services.

(Inherited from Context)
TvInputService

Use with #getSystemService(String) to retrieve a android.media.tv.TvInputManager for interacting with TV inputs on the device.

(Inherited from Context)
TvInteractiveAppService

Use with #getSystemService(String) to retrieve a android.media.tv.interactive.TvInteractiveAppManager for interacting with TV interactive applications on the device.

(Inherited from Context)
UiModeService

Use with #getSystemService(String) to retrieve a android.app.UiModeManager for controlling UI modes.

(Inherited from Context)
UsageStatsService

Use with #getSystemService(String) to retrieve a android.app.usage.UsageStatsManager for querying device usage stats.

(Inherited from Context)
UsbService

Use with #getSystemService(String) to retrieve a android.hardware.usb.UsbManager for access to USB devices (as a USB host) and for controlling this device's behavior as a USB device.

(Inherited from Context)
UserService

Use with #getSystemService(String) to retrieve a android.os.UserManager for managing users on devices that support multiple users.

(Inherited from Context)
VibratorManagerService

Use with #getSystemService(String) to retrieve a android.os.VibratorManager for accessing the device vibrators, interacting with individual ones and playing synchronized effects on multiple vibrators.

(Inherited from Context)
VibratorService

Use with #getSystemService(String) to retrieve a android.os.Vibrator for interacting with the vibration hardware.

(Inherited from Context)
VirtualDeviceService

Use with #getSystemService(String) to retrieve a android.companion.virtual.VirtualDeviceManager for managing virtual devices.

(Inherited from Context)
VpnManagementService

Use with #getSystemService(String) to retrieve a android.net.VpnManager to manage profiles for the platform built-in VPN.

(Inherited from Context)
WallpaperService

Use with #getSystemService(String) to retrieve a com.

(Inherited from Context)
WifiAwareService

Use with #getSystemService(String) to retrieve a android.net.wifi.aware.WifiAwareManager for handling management of Wi-Fi Aware.

(Inherited from Context)
WifiP2pService

Use with #getSystemService(String) to retrieve a android.net.wifi.p2p.WifiP2pManager for handling management of Wi-Fi peer-to-peer connections.

(Inherited from Context)
WifiRttRangingService

Use with #getSystemService(String) to retrieve a android.net.wifi.rtt.WifiRttManager for ranging devices with wifi.

(Inherited from Context)
WifiService

Use with #getSystemService(String) to retrieve a android.net.wifi.WifiManager for handling management of Wi-Fi access.

(Inherited from Context)
WindowService

Use with #getSystemService(String) to retrieve a android.view.WindowManager for accessing the system's window manager.

(Inherited from Context)

Properties

ActionBar

Retrieve a reference to this activity's ActionBar.

(Inherited from Activity)
Application

Return the application that owns this activity.

(Inherited from Activity)
ApplicationContext

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

(Inherited from ContextWrapper)
ApplicationInfo

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

(Inherited from ContextWrapper)
Assets

Return an AssetManager instance for your application's package.

(Inherited from ContextWrapper)
AttributionSource (Inherited from Context)
AttributionTag

Attribution can be used in complex apps to logically separate parts of the app.

(Inherited from Context)
BaseContext (Inherited from ContextWrapper)
CacheDir

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

(Inherited from ContextWrapper)
CallingActivity

Return the name of the activity that invoked this activity.

(Inherited from Activity)
CallingPackage

Return the name of the package that invoked this activity.

(Inherited from Activity)
ChangingConfigurations

If this activity is being destroyed because it can not handle a configuration parameter being changed (and thus its #onConfigurationChanged(Configuration) method is <em>not</em> being called), then you can use this method to discover the set of changes that have occurred while in the process of being destroyed.

(Inherited from Activity)
Class

Returns the runtime class of this Object.

(Inherited from Object)
ClassLoader

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

(Inherited from ContextWrapper)
CodeCacheDir

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

(Inherited from ContextWrapper)
ComponentName

Returns the complete component name of this activity.

(Inherited from Activity)
ContentResolver

Return a ContentResolver instance for your application's package.

(Inherited from ContextWrapper)
ContentScene

Retrieve the Scene representing this window's current content.

(Inherited from Activity)
ContentTransitionManager

Retrieve the TransitionManager responsible for default transitions in this window. -or- Set the TransitionManager to use for default transitions in this window.

(Inherited from Activity)
CurrentFocus

Calls android.view.Window#getCurrentFocus on the Window of this Activity to return the currently focused view.

(Inherited from Activity)
DataDir (Inherited from ContextWrapper)
DeviceId

Gets the device ID this context is associated with.

(Inherited from Context)
Display

Get the display this context is associated with.

(Inherited from Context)
ExpandableListAdapter

Get the ExpandableListAdapter associated with this activity's ExpandableListView.

ExpandableListView

Get the activity's expandable list view widget.

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.

(Inherited from ContextWrapper)
FilesDir

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

(Inherited from ContextWrapper)
FragmentManager

Return the FragmentManager for interacting with fragments associated with this activity.

(Inherited from Activity)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
HasWindowFocus

Returns true if this activity's <em>main</em> window currently has window focus.

(Inherited from Activity)
Immersive

Bit indicating that this activity is "immersive" and should not be interrupted by notifications if possible. -or- Adjust the current immersive mode setting.

(Inherited from Activity)
Intent

Return the intent that started this activity. -or- Change the intent returned by #getIntent.

(Inherited from Activity)
IsActivityTransitionRunning

Returns whether there are any activity transitions currently running on this activity.

(Inherited from Activity)
IsChangingConfigurations

Check to see whether this activity is in the process of being destroyed in order to be recreated with a new configuration.

(Inherited from Activity)
IsChild

Is this activity embedded inside of another activity?

(Inherited from Activity)
IsDestroyed

Returns true if the final #onDestroy() call has been made on the Activity, so this instance is now dead.

(Inherited from Activity)
IsDeviceProtectedStorage (Inherited from ContextWrapper)
IsFinishing

Check to see whether this activity is in the process of finishing, either because you called #finish on it or someone else has requested that it finished.

(Inherited from Activity)
IsInMultiWindowMode

Returns true if the activity is currently in multi-window mode.

(Inherited from Activity)
IsInPictureInPictureMode

Returns true if the activity is currently in picture-in-picture mode.

(Inherited from Activity)
IsLaunchedFromBubble

Indicates whether this activity is launched from a bubble.

(Inherited from Activity)
IsLocalVoiceInteractionSupported

Queries whether the currently enabled voice interaction service supports returning a voice interactor for use by the activity.

(Inherited from Activity)
IsRestricted

Indicates whether this Context is restricted.

(Inherited from Context)
IsTaskRoot

Return whether this activity is the root of a task.

(Inherited from Activity)
IsUiContext

Returns true if the context is a UI context which can access UI components such as WindowManager, android.view.LayoutInflater LayoutInflater or android.app.WallpaperManager WallpaperManager.

(Inherited from Context)
IsVoiceInteraction

Check whether this activity is running as part of a voice interaction with the user.

(Inherited from Activity)
IsVoiceInteractionRoot

Like #isVoiceInteraction, but only returns true if this is also the root of a voice interaction.

(Inherited from Activity)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
LastNonConfigurationInstance

Retrieve the non-configuration instance data that was previously returned by #onRetainNonConfigurationInstance().

(Inherited from Activity)
LaunchedFromPackage

Returns the package name of the app that initially launched this activity.

(Inherited from Activity)
LaunchedFromUid

Returns the uid of the app that initially launched this activity.

(Inherited from Activity)
LayoutInflater

Convenience for calling android.view.Window#getLayoutInflater.

(Inherited from Activity)
LoaderManager

Return the LoaderManager for this activity, creating it if needed.

(Inherited from Activity)
LocalClassName

Returns class name for this activity with the package prefix removed.

(Inherited from Activity)
MainExecutor

Return an Executor that will run enqueued tasks on the main thread associated with this context.

(Inherited from Context)
MainLooper

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

(Inherited from ContextWrapper)
MaxNumPictureInPictureActions

Return the number of actions that will be displayed in the picture-in-picture UI when the user interacts with the activity currently in picture-in-picture mode.

(Inherited from Activity)
MediaController

Gets the controller which should be receiving media key and volume events while this activity is in the foreground. -or- Sets a MediaController to send media keys and volume changes to.

(Inherited from Activity)
MenuInflater

Returns a MenuInflater with this context.

(Inherited from Activity)
NoBackupFilesDir

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

(Inherited from ContextWrapper)
ObbDir

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

(Inherited from ContextWrapper)
OnBackInvokedDispatcher

Returns the OnBackInvokedDispatcher instance associated with the window that this activity is attached to.

(Inherited from Activity)
OpPackageName

Return the package name that should be used for android.app.AppOpsManager calls from this context, so that app ops manager's uid verification will work with the name.

(Inherited from Context)
PackageCodePath

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

(Inherited from ContextWrapper)
PackageManager

Return PackageManager instance to find global package information.

(Inherited from ContextWrapper)
PackageName

Return the name of this application's package.

(Inherited from ContextWrapper)
PackageResourcePath

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

(Inherited from ContextWrapper)
Params

Return the set of parameters which this Context was created with, if it was created via #createContext(ContextParams).

(Inherited from Context)
Parent

Return the parent activity if this view is an embedded child.

(Inherited from Activity)
ParentActivityIntent

Obtain an Intent that will launch an explicit target activity specified by this activity's logical parent.

(Inherited from Activity)
PeerReference (Inherited from Object)
Referrer

Return information about who launched this activity.

(Inherited from Activity)
RequestedOrientation

Return the current requested orientation of the activity. -or- Change the desired orientation of this activity.

(Inherited from Activity)
Resources

Return a Resources instance for your application's package.

(Inherited from ContextWrapper)
SearchEvent

During the onSearchRequested() callbacks, this function will return the SearchEvent that triggered the callback, if it exists.

(Inherited from Activity)
SelectedId

Gets the ID of the currently selected group or child.

SelectedPosition

Gets the position (in packed position representation) of the currently selected group or child.

SplashScreen

Get the interface that activity use to talk to the splash screen.

(Inherited from Activity)
TaskId

Return the identifier of the task this activity is in.

(Inherited from Activity)
Theme

Return the Theme object associated with this Context.

(Inherited from ContextWrapper)
ThresholdClass

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

ThresholdType

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

Title (Inherited from Activity)
TitleColor
Obsolete.

Change the color of the title associated with this activity.

(Inherited from Activity)
TitleFormatted

Change the title associated with this activity.

(Inherited from Activity)
VoiceInteractor

Retrieve the active VoiceInteractor that the user is going through to interact with this activity.

(Inherited from Activity)
VolumeControlStream

Gets the suggested audio stream whose volume should be changed by the hardware volume controls. -or- Suggests an audio stream whose volume should be changed by the hardware volume controls.

(Inherited from Activity)
Wallpaper (Inherited from ContextWrapper)
WallpaperDesiredMinimumHeight (Inherited from ContextWrapper)
WallpaperDesiredMinimumWidth (Inherited from ContextWrapper)
Window

Retrieve the current android.view.Window for the activity.

(Inherited from Activity)
WindowManager

Retrieve the window manager for showing custom windows.

(Inherited from Activity)

Methods

AddContentView(View, ViewGroup+LayoutParams)

Add an additional content view to the activity.

(Inherited from Activity)
ApplyOverrideConfiguration(Configuration)

Call to set an "override configuration" on this context -- this is a configuration that replies one or more values of the standard configuration that is applied to the context.

(Inherited from ContextThemeWrapper)
AttachBaseContext(Context)

Set the base context for this ContextWrapper.

(Inherited from ContextWrapper)
BindService(Intent, Bind, IExecutor, IServiceConnection)

Same as #bindService(Intent, ServiceConnection, int) bindService(Intent, ServiceConnection, int) with executor to control ServiceConnection callbacks.

(Inherited from Context)
BindService(Intent, Context+BindServiceFlags, IExecutor, IServiceConnection) (Inherited from Context)
BindService(Intent, IServiceConnection, Bind)

Connect to an application service, creating it if needed.

(Inherited from ContextWrapper)
BindService(Intent, IServiceConnection, Context+BindServiceFlags) (Inherited from Context)
BindServiceAsUser(Intent, IServiceConnection, Context+BindServiceFlags, UserHandle) (Inherited from Context)
BindServiceAsUser(Intent, IServiceConnection, Int32, UserHandle)

Binds to a service in the given user in the same manner as #bindService.

(Inherited from Context)
CheckCallingOrSelfPermission(String)

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

(Inherited from ContextWrapper)
CheckCallingOrSelfUriPermission(Uri, ActivityFlags)

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

(Inherited from ContextWrapper)
CheckCallingOrSelfUriPermissions(IList<Uri>, Int32)

Determine whether the calling process of an IPC <em>or you</em> has been granted permission to access a list of URIs.

(Inherited from Context)
CheckCallingPermission(String)

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

(Inherited from ContextWrapper)
CheckCallingUriPermission(Uri, ActivityFlags)

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

(Inherited from ContextWrapper)
CheckCallingUriPermissions(IList<Uri>, Int32)

Determine whether the calling process and user ID has been granted permission to access a list of URIs.

(Inherited from Context)
CheckPermission(String, Int32, Int32)

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

(Inherited from ContextWrapper)
CheckSelfPermission(String) (Inherited from ContextWrapper)
CheckUriPermission(Uri, Int32, Int32, ActivityFlags)

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

(Inherited from ContextWrapper)
CheckUriPermission(Uri, String, String, Int32, Int32, ActivityFlags)

Check both a Uri and normal permission.

(Inherited from ContextWrapper)
CheckUriPermissions(IList<Uri>, Int32, Int32, Int32)

Determine whether a particular process and user ID has been granted permission to access a list of URIs.

(Inherited from Context)
ClearOverrideActivityTransition(OverrideTransition)

Clears the animations which are set from #overrideActivityTransition.

(Inherited from Activity)
ClearWallpaper()
Obsolete.
(Inherited from ContextWrapper)
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
CloseContextMenu()

Programmatically closes the most recently opened context menu, if showing.

(Inherited from Activity)
CloseOptionsMenu()

Progammatically closes the options menu.

(Inherited from Activity)
CreateAttributionContext(String)

Return a new Context object for the current Context but attribute to a different tag.

(Inherited from Context)
CreateConfigurationContext(Configuration)

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

(Inherited from ContextWrapper)
CreateContext(ContextParams)

Creates a context with specific properties and behaviors.

(Inherited from Context)
CreateContextForSplit(String) (Inherited from ContextWrapper)
CreateDeviceContext(Int32)

Returns a new Context object from the current context but with device association given by the deviceId.

(Inherited from Context)
CreateDeviceProtectedStorageContext() (Inherited from ContextWrapper)
CreateDisplayContext(Display)

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

(Inherited from ContextWrapper)
CreatePackageContext(String, PackageContextFlags)

Return a new Context object for the given application name.

(Inherited from ContextWrapper)
CreatePendingResult(Int32, Intent, PendingIntentFlags)

Create a new PendingIntent object which you can hand to others for them to use to send result data back to your #onActivityResult callback.

(Inherited from Activity)
CreateWindowContext(Display, Int32, Bundle)

Creates a Context for a non-android.app.Activity activity window on the given Display.

(Inherited from Context)
CreateWindowContext(Int32, Bundle)

Creates a Context for a non-activity window.

(Inherited from Context)
DatabaseList()

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

(Inherited from ContextWrapper)
DeleteDatabase(String)

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

(Inherited from ContextWrapper)
DeleteFile(String)

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

(Inherited from ContextWrapper)
DeleteSharedPreferences(String) (Inherited from ContextWrapper)
DismissDialog(Int32)
Obsolete.

Dismiss a dialog that was previously shown via #showDialog(int).

(Inherited from Activity)
DismissKeyboardShortcutsHelper()

Dismiss the Keyboard Shortcuts screen.

(Inherited from Activity)
DispatchGenericMotionEvent(MotionEvent)

Called to process generic motion events.

(Inherited from Activity)
DispatchKeyEvent(KeyEvent)

Called to process key events.

(Inherited from Activity)
DispatchKeyShortcutEvent(KeyEvent)

Called to process a key shortcut event.

(Inherited from Activity)
DispatchPopulateAccessibilityEvent(AccessibilityEvent)

Called to process population of AccessibilityEvents.

(Inherited from Activity)
DispatchTouchEvent(MotionEvent)

Called to process touch screen events.

(Inherited from Activity)
DispatchTrackballEvent(MotionEvent)

Called to process trackball events.

(Inherited from Activity)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Dump(String, FileDescriptor, PrintWriter, String[])

Print the Activity's state into the given stream.

(Inherited from Activity)
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.

(Inherited from ContextWrapper)
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.

(Inherited from ContextWrapper)
EnforceCallingPermission(String, String)

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

(Inherited from ContextWrapper)
EnforceCallingUriPermission(Uri, ActivityFlags, String)

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

(Inherited from ContextWrapper)
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.

(Inherited from ContextWrapper)
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.

(Inherited from ContextWrapper)
EnforceUriPermission(Uri, String, String, Int32, Int32, ActivityFlags, String)

Enforce both a Uri and normal permission.

(Inherited from ContextWrapper)
EnterPictureInPictureMode()

Puts the activity in picture-in-picture mode if possible in the current system state.

(Inherited from Activity)
EnterPictureInPictureMode(PictureInPictureParams)

Puts the activity in picture-in-picture mode if possible in the current system state.

(Inherited from Activity)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
FileList()

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

(Inherited from ContextWrapper)
FindViewById(Int32)

Finds a view that was identified by the android:id XML attribute that was processed in #onCreate.

(Inherited from Activity)
FindViewById<T>(Int32)

Finds a view that was identified by the id attribute from the XML layout resource.

(Inherited from Activity)
Finish()

Call this when your activity is done and should be closed.

(Inherited from Activity)
FinishActivity(Int32)

Force finish another activity that you had previously started with #startActivityForResult.

(Inherited from Activity)
FinishActivityFromChild(Activity, Int32)

This is called when a child activity of this one calls its finishActivity().

(Inherited from Activity)
FinishAffinity()

Finish this activity as well as all activities immediately below it in the current task that have the same affinity.

(Inherited from Activity)
FinishAfterTransition()

Reverses the Activity Scene entry Transition and triggers the calling Activity to reverse its exit Transition.

(Inherited from Activity)
FinishAndRemoveTask()

Call this when your activity is done and should be closed and the task should be completely removed as a part of finishing the root activity of the task.

(Inherited from Activity)
FinishFromChild(Activity)

This is called when a child activity of this one calls its #finish method.

(Inherited from Activity)
GetColor(Int32)

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

(Inherited from Context)
GetColorStateList(Int32)

Returns a color state list associated with a particular resource ID and styled for the current theme.

(Inherited from Context)
GetDatabasePath(String) (Inherited from ContextWrapper)
GetDir(String, FileCreationMode)

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

(Inherited from ContextWrapper)
GetDrawable(Int32)

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

(Inherited from Context)
GetExternalCacheDirs()

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

(Inherited from ContextWrapper)
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.

(Inherited from ContextWrapper)
GetExternalFilesDirs(String)

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

(Inherited from ContextWrapper)
GetExternalMediaDirs()
Obsolete.

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

(Inherited from ContextWrapper)
GetFileStreamPath(String)

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

(Inherited from ContextWrapper)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
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.

(Inherited from ContextWrapper)
GetPreferences(FileCreationMode)

Retrieve a SharedPreferences object for accessing preferences that are private to this activity.

(Inherited from Activity)
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.

(Inherited from ContextWrapper)
GetString(Int32, Object[])

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

(Inherited from Context)
GetString(Int32)

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

(Inherited from Context)
GetSystemService(Class)

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

(Inherited from Context)
GetSystemService(String)

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

(Inherited from ContextWrapper)
GetSystemServiceName(Class) (Inherited from ContextWrapper)
GetText(Int32)

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

(Inherited from Context)
GetTextFormatted(Int32)

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

(Inherited from Context)
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.

(Inherited from ContextWrapper)
InvalidateOptionsMenu()

Declare that the options menu has changed, so should be recreated.

(Inherited from Activity)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
ManagedQuery(Uri, String[], String, String[], String)
Obsolete.

Wrapper around ContentResolver#query(android.net.Uri , String[], String, String[], String) that gives the resulting Cursor to call #startManagingCursor so that the activity will manage its lifecycle for you.

(Inherited from Activity)
MoveDatabaseFrom(Context, String) (Inherited from ContextWrapper)
MoveSharedPreferencesFrom(Context, String) (Inherited from ContextWrapper)
MoveTaskToBack(Boolean)

Move the task containing this activity to the back of the activity stack.

(Inherited from Activity)
NavigateUpTo(Intent)

Navigate from this activity to the activity specified by upIntent, finishing this activity in the process.

(Inherited from Activity)
NavigateUpToFromChild(Activity, Intent)

This is called when a child activity of this one calls its #navigateUpTo method.

(Inherited from Activity)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

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

Retrieve styled attribute information in this Context's theme.

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

Retrieve styled attribute information in this Context's theme.

(Inherited from Context)
ObtainStyledAttributes(Int32, Int32[])

Retrieve styled attribute information in this Context's theme.

(Inherited from Context)
ObtainStyledAttributes(Int32[])

Retrieve styled attribute information in this Context's theme.

(Inherited from Context)
OnActionModeFinished(ActionMode)

Notifies the activity that an action mode has finished.

(Inherited from Activity)
OnActionModeStarted(ActionMode)

Notifies the Activity that an action mode has been started.

(Inherited from Activity)
OnActivityReenter(Int32, Intent)

Called when an activity you launched with an activity transition exposes this Activity through a returning activity transition, giving you the resultCode and any additional data from it.

(Inherited from Activity)
OnActivityResult(Int32, Result, Intent)

Called when an activity you launched exits, giving you the requestCode you started it with, the resultCode it returned, and any additional data from it.

(Inherited from Activity)
OnApplyThemeResource(Resources+Theme, Int32, Boolean)

Called by #setTheme and #getTheme to apply a theme resource to the current Theme object.

(Inherited from ContextThemeWrapper)
OnAttachedToWindow()

Called when the main window associated with the activity has been attached to the window manager.

(Inherited from Activity)
OnAttachFragment(Fragment)

Called when a Fragment is being attached to this activity, immediately after the call to its Fragment#onAttach Fragment.onAttach() method and before Fragment#onCreate Fragment.onCreate().

(Inherited from Activity)
OnBackPressed()

Called when the activity has detected the user's press of the back key.

(Inherited from Activity)
OnChildClick(ExpandableListView, View, Int32, Int32, Int64)

Override this for receiving callbacks when a child has been clicked.

OnChildTitleChanged(Activity, ICharSequence) (Inherited from Activity)
OnChildTitleChanged(Activity, String) (Inherited from Activity)
OnConfigurationChanged(Configuration)

Called by the system when the device configuration changes while your activity is running.

(Inherited from Activity)
OnContentChanged()

This hook is called whenever the content view of the screen changes (due to a call to M:Android.Views.Window.SetContentView(Android.Views.View,.LayoutParams) or AddContentView(View, ViewGroup+LayoutParams)).

(Inherited from Activity)
OnContextItemSelected(IMenuItem)

This hook is called whenever an item in a context menu is selected.

(Inherited from Activity)
OnContextMenuClosed(IMenu)

This hook is called whenever the context menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected).

(Inherited from Activity)
OnCreate(Bundle, PersistableBundle)

Same as #onCreate(android.os.Bundle) but called for those activities created with the attribute android.R.attr#persistableMode set to persistAcrossReboots.

(Inherited from Activity)
OnCreate(Bundle)

Called when the activity is starting.

(Inherited from Activity)
OnCreateContextMenu(IContextMenu, View, IContextMenuContextMenuInfo)

Called when a context menu for the view is about to be shown.

(Inherited from Activity)
OnCreateDescription()

Generate a new description for this activity.

(Inherited from Activity)
OnCreateDescriptionFormatted()

Generate a new description for this activity.

(Inherited from Activity)
OnCreateDialog(Int32, Bundle)
Obsolete.

Callback for creating dialogs that are managed (saved and restored) for you by the activity.

(Inherited from Activity)
OnCreateDialog(Int32)
Obsolete.

This member is deprecated.

(Inherited from Activity)
OnCreateNavigateUpTaskStack(TaskStackBuilder)

Define the synthetic task stack that will be generated during Up navigation from a different task.

(Inherited from Activity)
OnCreateOptionsMenu(IMenu)

Initialize the contents of the Activity's standard options menu.

(Inherited from Activity)
OnCreatePanelMenu(Int32, IMenu)

Default implementation of android.view.Window.Callback#onCreatePanelMenu for activities.

(Inherited from Activity)
OnCreatePanelView(Int32)

Default implementation of android.view.Window.Callback#onCreatePanelView for activities.

(Inherited from Activity)
OnCreateThumbnail(Bitmap, Canvas)

This member is deprecated.

(Inherited from Activity)
OnCreateView(String, Context, IAttributeSet)

Standard implementation of android.view.LayoutInflater.Factory#onCreateView used when inflating with the LayoutInflater returned by #getSystemService.

(Inherited from Activity)
OnCreateView(View, String, Context, IAttributeSet)

Standard implementation of android.view.LayoutInflater.Factory2#onCreateView(View, String, Context, AttributeSet) used when inflating with the LayoutInflater returned by #getSystemService.

(Inherited from Activity)
OnDestroy()

Perform any final cleanup before an activity is destroyed.

(Inherited from Activity)
OnDetachedFromWindow()

Called when the main window associated with the activity has been detached from the window manager.

(Inherited from Activity)
OnEnterAnimationComplete()

Activities cannot draw during the period that their windows are animating in.

(Inherited from Activity)
OnGenericMotionEvent(MotionEvent)

Called when a generic motion event was not handled by any of the views inside of the activity.

(Inherited from Activity)
OnGetDirectActions(CancellationSignal, IConsumer)

Returns the list of direct actions supported by the app.

(Inherited from Activity)
OnGroupCollapse(Int32)

Override this for receiving callbacks when a group has been collapsed.

OnGroupExpand(Int32)

Override this for receiving callbacks when a group has been expanded.

OnKeyDown(Keycode, KeyEvent)

Called when a key was pressed down and not handled by any of the views inside of the activity.

(Inherited from Activity)
OnKeyLongPress(Keycode, KeyEvent)

Default implementation of KeyEvent.Callback#onKeyLongPress(int, KeyEvent) KeyEvent.Callback.onKeyLongPress(): always returns false (doesn't handle the event).

(Inherited from Activity)
OnKeyMultiple(Keycode, Int32, KeyEvent)

Default implementation of KeyEvent.Callback#onKeyMultiple(int, int, KeyEvent) KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle the event).

(Inherited from Activity)
OnKeyShortcut(Keycode, KeyEvent)

Called when a key shortcut event is not handled by any of the views in the Activity.

(Inherited from Activity)
OnKeyUp(Keycode, KeyEvent)

Called when a key was released and not handled by any of the views inside of the activity.

(Inherited from Activity)
OnLocalVoiceInteractionStarted()

Callback to indicate that #startLocalVoiceInteraction(Bundle) has resulted in a voice interaction session being started.

(Inherited from Activity)
OnLocalVoiceInteractionStopped()

Callback to indicate that the local voice interaction has stopped either because it was requested through a call to #stopLocalVoiceInteraction() or because it was canceled by the user.

(Inherited from Activity)
OnLowMemory()

This is called when the overall system is running low on memory, and actively running processes should trim their memory usage.

(Inherited from Activity)
OnMenuItemSelected(Int32, IMenuItem)

Default implementation of android.view.Window.Callback#onMenuItemSelected for activities.

(Inherited from Activity)
OnMenuOpened(Int32, IMenu)

To be added

(Inherited from Activity)
OnMultiWindowModeChanged(Boolean, Configuration)

Called by the system when the activity changes from fullscreen mode to multi-window mode and visa-versa.

(Inherited from Activity)
OnMultiWindowModeChanged(Boolean)

Called by the system when the activity changes from fullscreen mode to multi-window mode and visa-versa.

(Inherited from Activity)
OnNavigateUp()

This method is called whenever the user chooses to navigate Up within your application's activity hierarchy from the action bar.

(Inherited from Activity)
OnNavigateUpFromChild(Activity)

This is called when a child activity of this one attempts to navigate up.

(Inherited from Activity)
OnNewIntent(Intent)

This is called for activities that set launchMode to "singleTop" in their package, or if a client used the Intent#FLAG_ACTIVITY_SINGLE_TOP flag when calling #startActivity.

(Inherited from Activity)
OnOptionsItemSelected(IMenuItem)

This hook is called whenever an item in your options menu is selected.

(Inherited from Activity)
OnOptionsMenuClosed(IMenu)

This hook is called whenever the options menu is being closed (either by the user canceling the menu with the back/menu button, or when an item is selected).

(Inherited from Activity)
OnPanelClosed(Int32, IMenu)

Default implementation of android.view.Window.Callback#onPanelClosed(int, Menu) for activities.

(Inherited from Activity)
OnPause()

Called as part of the activity lifecycle when the user no longer actively interacts with the activity, but it is still visible on screen.

(Inherited from Activity)
OnPerformDirectAction(String, Bundle, CancellationSignal, IConsumer)

This is called to perform an action previously defined by the app.

(Inherited from Activity)
OnPictureInPictureModeChanged(Boolean, Configuration)

Called by the system when the activity changes to and from picture-in-picture mode.

(Inherited from Activity)
OnPictureInPictureModeChanged(Boolean)

Called by the system when the activity changes to and from picture-in-picture mode.

(Inherited from Activity)
OnPictureInPictureRequested()

This method is called by the system in various cases where picture in picture mode should be entered if supported.

(Inherited from Activity)
OnPictureInPictureUiStateChanged(PictureInPictureUiState)

Called by the system when the activity is in PiP and has state changes.

(Inherited from Activity)
OnPostCreate(Bundle, PersistableBundle)

This is the same as #onPostCreate(Bundle) but is called for activities created with the attribute android.R.attr#persistableMode set to persistAcrossReboots.

(Inherited from Activity)
OnPostCreate(Bundle)

Called when activity start-up is complete (after #onStart and #onRestoreInstanceState have been called).

(Inherited from Activity)
OnPostResume()

Called when activity resume is complete (after #onResume has been called).

(Inherited from Activity)
OnPrepareDialog(Int32, Dialog, Bundle)
Obsolete.

Provides an opportunity to prepare a managed dialog before it is being shown.

(Inherited from Activity)
OnPrepareDialog(Int32, Dialog)
Obsolete.

This member is deprecated.

(Inherited from Activity)
OnPrepareNavigateUpTaskStack(TaskStackBuilder)

Prepare the synthetic task stack that will be generated during Up navigation from a different task.

(Inherited from Activity)
OnPrepareOptionsMenu(IMenu)

Prepare the Screen's standard options menu to be displayed.

(Inherited from Activity)
OnPreparePanel(Int32, View, IMenu)

Default implementation of android.view.Window.Callback#onPreparePanel for activities.

(Inherited from Activity)
OnProvideAssistContent(AssistContent)

This is called when the user is requesting an assist, to provide references to content related to the current activity.

(Inherited from Activity)
OnProvideAssistData(Bundle)

This is called when the user is requesting an assist, to build a full Intent#ACTION_ASSIST Intent with all of the context of the current application.

(Inherited from Activity)
OnProvideKeyboardShortcuts(IList<KeyboardShortcutGroup>, IMenu, Int32) (Inherited from Activity)
OnProvideReferrer()

Override to generate the desired referrer for the content currently being shown by the app.

(Inherited from Activity)
OnRequestPermissionsResult(Int32, String[], Permission[])

Callback for the result from requesting permissions.

(Inherited from Activity)
OnRestart()

Called after #onStop when the current activity is being re-displayed to the user (the user has navigated back to it).

(Inherited from Activity)
OnRestoreInstanceState(Bundle, PersistableBundle)

This is the same as #onRestoreInstanceState(Bundle) but is called for activities created with the attribute android.R.attr#persistableMode set to persistAcrossReboots.

(Inherited from Activity)
OnRestoreInstanceState(Bundle)

This method is called after #onStart when the activity is being re-initialized from a previously saved state, given here in <var>savedInstanceState</var>.

(Inherited from Activity)
OnResume()

Called after #onRestoreInstanceState, #onRestart, or #onPause.

(Inherited from Activity)
OnRetainNonConfigurationInstance()

Called by the system, as part of destroying an activity due to a configuration change, when it is known that a new instance will immediately be created for the new configuration.

(Inherited from Activity)
OnSaveInstanceState(Bundle, PersistableBundle)

This is the same as #onSaveInstanceState but is called for activities created with the attribute android.R.attr#persistableMode set to persistAcrossReboots.

(Inherited from Activity)
OnSaveInstanceState(Bundle)

Called to retrieve per-instance state from an activity before being killed so that the state can be restored in #onCreate or #onRestoreInstanceState (the Bundle populated by this method will be passed to both).

(Inherited from Activity)
OnSearchRequested()

Called when the user signals the desire to start a search.

(Inherited from Activity)
OnSearchRequested(SearchEvent)

This hook is called when the user signals the desire to start a search.

(Inherited from Activity)
OnStart()

Called after #onCreate &mdash; or after #onRestart when the activity had been stopped, but is now again being displayed to the user.

(Inherited from Activity)
OnStateNotSaved()

Called when an #onResume is coming up, prior to other pre-resume callbacks such as #onNewIntent and #onActivityResult.

(Inherited from Activity)
OnStop()

Called when you are no longer visible to the user.

(Inherited from Activity)
OnTitleChanged(ICharSequence, Color) (Inherited from Activity)
OnTitleChanged(String, Color) (Inherited from Activity)
OnTopResumedActivityChanged(Boolean)

Called when activity gets or loses the top resumed position in the system.

(Inherited from Activity)
OnTouchEvent(MotionEvent)

Called when a touch screen event was not handled by any of the views inside of the activity.

(Inherited from Activity)
OnTrackballEvent(MotionEvent)

Called when the trackball was moved and not handled by any of the views inside of the activity.

(Inherited from Activity)
OnTrimMemory(TrimMemory)

Called when the operating system has determined that it is a good time for a process to trim unneeded memory from its process.

(Inherited from Activity)
OnUserInteraction()

Called whenever a key, touch, or trackball event is dispatched to the activity.

(Inherited from Activity)
OnUserLeaveHint()

Called as part of the activity lifecycle when an activity is about to go into the background as the result of user choice.

(Inherited from Activity)
OnVisibleBehindCanceled()

Called when a translucent activity over this activity is becoming opaque or another activity is being launched.

(Inherited from Activity)
OnWindowAttributesChanged(WindowManagerLayoutParams)

This is called whenever the current window attributes change.

(Inherited from Activity)
OnWindowFocusChanged(Boolean)

Called when the current Window of the activity gains or loses focus.

(Inherited from Activity)
OnWindowStartingActionMode(ActionMode+ICallback, ActionModeType)

Give the Activity a chance to control the UI for an action mode requested by the system.

(Inherited from Activity)
OnWindowStartingActionMode(ActionMode+ICallback)

Give the Activity a chance to control the UI for an action mode requested by the system.

(Inherited from Activity)
OpenContextMenu(View)

Programmatically opens the context menu for a particular view.

(Inherited from Activity)
OpenFileInput(String)

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

(Inherited from ContextWrapper)
OpenFileOutput(String, FileCreationMode)

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

(Inherited from ContextWrapper)
OpenOptionsMenu()

Programmatically opens the options menu.

(Inherited from Activity)
OpenOrCreateDatabase(String, FileCreationMode, SQLiteDatabase+ICursorFactory, IDatabaseErrorHandler)

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

(Inherited from ContextWrapper)
OpenOrCreateDatabase(String, FileCreationMode, SQLiteDatabase+ICursorFactory)

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

(Inherited from ContextWrapper)
OverrideActivityTransition(OverrideTransition, Int32, Int32, Int32)

Customizes the animation for the activity transition with this activity.

(Inherited from Activity)
OverrideActivityTransition(OverrideTransition, Int32, Int32)

Customizes the animation for the activity transition with this activity.

(Inherited from Activity)
OverridePendingTransition(Int32, Int32, Int32)

Call immediately after one of the flavors of #startActivity(Intent) or #finish to specify an explicit transition animation to perform next.

(Inherited from Activity)
OverridePendingTransition(Int32, Int32)

Call immediately after one of the flavors of #startActivity(Intent) or #finish to specify an explicit transition animation to perform next.

(Inherited from Activity)
PeekWallpaper()
Obsolete.
(Inherited from ContextWrapper)
PostponeEnterTransition()

Postpone the entering activity transition when Activity was started with android.app.ActivityOptions#makeSceneTransitionAnimation(Activity, android.util.Pair[]).

(Inherited from Activity)
Recreate()

Cause this Activity to be recreated with a new instance.

(Inherited from Activity)
RegisterActivityLifecycleCallbacks(Application+IActivityLifecycleCallbacks)

Register an Application.ActivityLifecycleCallbacks instance that receives lifecycle callbacks for only this Activity.

(Inherited from Activity)
RegisterComponentCallbacks(IComponentCallbacks)

Add a new ComponentCallbacks 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.

(Inherited from Context)
RegisterDeviceIdChangeListener(IExecutor, IIntConsumer)

Adds a new device ID changed listener to the Context, which will be called when the device association is changed by the system.

(Inherited from Context)
RegisterForContextMenu(View)

Registers a context menu to be shown for the given view (multiple views can show the context menu).

(Inherited from Activity)
RegisterReceiver(BroadcastReceiver, IntentFilter, ActivityFlags)
Obsolete.
(Inherited from ContextWrapper)
RegisterReceiver(BroadcastReceiver, IntentFilter, ReceiverFlags) (Inherited from Context)
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler, ActivityFlags)
Obsolete.
(Inherited from ContextWrapper)
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler, ReceiverFlags) (Inherited from Context)
RegisterReceiver(BroadcastReceiver, IntentFilter, String, Handler)

Register to receive intent broadcasts, to run in the context of scheduler.

(Inherited from ContextWrapper)
RegisterReceiver(BroadcastReceiver, IntentFilter)

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

(Inherited from ContextWrapper)
RegisterScreenCaptureCallback(IExecutor, Activity+IScreenCaptureCallback) (Inherited from Activity)
ReleaseInstance()

Ask that the local app instance of this activity be released to free up its memory.

(Inherited from Activity)
RemoveDialog(Int32)
Obsolete.

Removes any internal references to a dialog managed by this Activity.

(Inherited from Activity)
RemoveStickyBroadcast(Intent)
Obsolete.
(Inherited from ContextWrapper)
RemoveStickyBroadcastAsUser(Intent, UserHandle)
Obsolete.
(Inherited from ContextWrapper)
ReportFullyDrawn()

Report to the system that your app is now fully drawn, for diagnostic and optimization purposes.

(Inherited from Activity)
RequestDragAndDropPermissions(DragEvent)

Create DragAndDropPermissions object bound to this activity and controlling the access permissions for content URIs associated with the DragEvent.

(Inherited from Activity)
RequestFullscreenMode(FullscreenModeRequest, IOutcomeReceiver)

Request to put the a freeform activity into fullscreen.

(Inherited from Activity)
RequestPermissions(String[], Int32)

Requests permissions to be granted to this application.

(Inherited from Activity)
RequestShowKeyboardShortcuts()

Request the Keyboard Shortcuts screen to show up.

(Inherited from Activity)
RequestVisibleBehind(Boolean)

Activities that want to remain visible behind a translucent activity above them must call this method anytime between the start of #onResume() and the return from #onPause().

(Inherited from Activity)
RequestWindowFeature(WindowFeatures)

Enable extended window features.

(Inherited from Activity)
RequireViewById(Int32)

Finds a view that was identified by the android:id XML attribute that was processed in #onCreate, or throws an IllegalArgumentException if the ID is invalid, or there is no matching view in the hierarchy.

(Inherited from Activity)
RequireViewById<T>(Int32) (Inherited from Activity)
RevokeSelfPermissionOnKill(String)

Triggers the asynchronous revocation of a runtime permission.

(Inherited from Context)
RevokeSelfPermissionsOnKill(ICollection<String>)

Triggers the revocation of one or more permissions for the calling package.

(Inherited from Context)
RevokeUriPermission(String, Uri, ActivityFlags) (Inherited from ContextWrapper)
RevokeUriPermission(Uri, ActivityFlags)

Remove all permissions to access a particular content provider Uri that were previously added with M:Android.Content.Context.GrantUriPermission(System.String,Android.Net.Uri,Android.Net.Uri).

(Inherited from ContextWrapper)
RunOnUiThread(Action) (Inherited from Activity)
RunOnUiThread(IRunnable)

Runs the specified action on the UI thread.

(Inherited from Activity)
SendBroadcast(Intent, String, Bundle)

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

(Inherited from Context)
SendBroadcast(Intent, String)

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

(Inherited from ContextWrapper)
SendBroadcast(Intent)

Broadcast the given intent to all interested BroadcastReceivers.

(Inherited from ContextWrapper)
SendBroadcastAsUser(Intent, UserHandle, String)

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

(Inherited from ContextWrapper)
SendBroadcastAsUser(Intent, UserHandle)

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

(Inherited from ContextWrapper)
SendBroadcastWithMultiplePermissions(Intent, String[])

Broadcast the given intent to all interested BroadcastReceivers, allowing an array of required permissions to be enforced.

(Inherited from Context)
SendOrderedBroadcast(Intent, Int32, String, String, BroadcastReceiver, Handler, String, Bundle, Bundle) (Inherited from ContextWrapper)
SendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, Result, String, Bundle)

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

(Inherited from ContextWrapper)
SendOrderedBroadcast(Intent, String, Bundle, BroadcastReceiver, Handler, Result, String, Bundle)

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

(Inherited from Context)
SendOrderedBroadcast(Intent, String, Bundle)

Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers.

(Inherited from Context)
SendOrderedBroadcast(Intent, String, String, BroadcastReceiver, Handler, Result, String, Bundle)

Version of #sendOrderedBroadcast(Intent, String, BroadcastReceiver, Handler, int, String, Bundle) that allows you to specify the App Op to enforce restrictions on which receivers the broadcast will be sent to.

(Inherited from Context)
SendOrderedBroadcast(Intent, String) (Inherited from ContextWrapper)
SendOrderedBroadcastAsUser(Intent, UserHandle, String, BroadcastReceiver, Handler, Result, String, Bundle) (Inherited from ContextWrapper)
SendStickyBroadcast(Intent, Bundle)

Perform a #sendBroadcast(Intent) that is "sticky," meaning the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of #registerReceiver(BroadcastReceiver, IntentFilter).

(Inherited from Context)
SendStickyBroadcast(Intent)
Obsolete.

Perform a #sendBroadcast(Intent) that is "sticky," meaning the Intent you are sending stays around after the broadcast is complete, so that others can quickly retrieve that data through the return value of #registerReceiver(BroadcastReceiver, IntentFilter).

(Inherited from ContextWrapper)
SendStickyBroadcastAsUser(Intent, UserHandle)
Obsolete.
(Inherited from ContextWrapper)
SendStickyOrderedBroadcast(Intent, BroadcastReceiver, Handler, Result, String, Bundle)
Obsolete.
(Inherited from ContextWrapper)
SendStickyOrderedBroadcastAsUser(Intent, UserHandle, BroadcastReceiver, Handler, Result, String, Bundle)
Obsolete.
(Inherited from ContextWrapper)
SetActionBar(Toolbar)

Set a android.widget.Toolbar Toolbar to act as the ActionBar for this Activity window.

(Inherited from Activity)
SetContentView(Int32)

Set the activity content from a layout resource.

(Inherited from Activity)
SetContentView(View, ViewGroup+LayoutParams)

Set the activity content from a layout resource.

(Inherited from Activity)
SetContentView(View)

Set the activity content to an explicit view.

(Inherited from Activity)
SetDefaultKeyMode(DefaultKey)

Select the default key handling for this activity.

(Inherited from Activity)
SetEnterSharedElementCallback(SharedElementCallback)

When android.app.ActivityOptions#makeSceneTransitionAnimation(Activity, android.view.View, String) was used to start an Activity, <var>callback</var> will be called to handle shared elements on the launched Activity.

(Inherited from Activity)
SetExitSharedElementCallback(SharedElementCallback)

When android.app.ActivityOptions#makeSceneTransitionAnimation(Activity, android.view.View, String) was used to start an Activity, <var>callback</var> will be called to handle shared elements on the launching Activity.

(Inherited from Activity)
SetFeatureDrawable(WindowFeatures, Drawable)

Convenience for calling android.view.Window#setFeatureDrawable(int, Drawable).

(Inherited from Activity)
SetFeatureDrawableAlpha(WindowFeatures, Int32)

Convenience for calling android.view.Window#setFeatureDrawableAlpha.

(Inherited from Activity)
SetFeatureDrawableResource(WindowFeatures, Int32)

Convenience for calling android.view.Window#setFeatureDrawableResource.

(Inherited from Activity)
SetFeatureDrawableUri(WindowFeatures, Uri)

Convenience for calling android.view.Window#setFeatureDrawableUri.

(Inherited from Activity)
SetFinishOnTouchOutside(Boolean)

Sets whether this activity is finished when touched outside its window's bounds.

(Inherited from Activity)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInheritShowWhenLocked(Boolean)

Specifies whether this Activity should be shown on top of the lock screen whenever the lockscreen is up and this activity has another activity behind it with the showWhenLock attribute set.

(Inherited from Activity)
SetListAdapter(IExpandableListAdapter)

Provide the adapter for the expandable list.

SetLocusContext(LocusId, Bundle)

Sets the android.content.LocusId for this activity.

(Inherited from Activity)
SetPersistent(Boolean)

This member is deprecated.

(Inherited from Activity)
SetPictureInPictureParams(PictureInPictureParams)

Updates the properties of the picture-in-picture activity, or sets it to be used later when #enterPictureInPictureMode() is called.

(Inherited from Activity)
SetProgress(Int32)

Sets the progress for the progress bars in the title.

(Inherited from Activity)
SetProgressBarIndeterminate(Boolean)

Sets whether the horizontal progress bar in the title should be indeterminate (the circular is always indeterminate).

(Inherited from Activity)
SetProgressBarIndeterminateVisibility(Boolean)

Sets the visibility of the indeterminate progress bar in the title.

(Inherited from Activity)
SetProgressBarVisibility(Boolean)

Sets the visibility of the progress bar in the title.

(Inherited from Activity)
SetRecentsScreenshotEnabled(Boolean)

If set to false, this indicates to the system that it should never take a screenshot of the activity to be used as a representation in recents screen.

(Inherited from Activity)
SetResult(Result, Intent)

Call this to set the result that your activity will return to its caller.

(Inherited from Activity)
SetResult(Result)

Call this to set the result that your activity will return to its caller.

(Inherited from Activity)
SetSecondaryProgress(Int32)

Sets the secondary progress for the progress bar in the title.

(Inherited from Activity)
SetSelectedChild(Int32, Int32, Boolean)

Sets the selection to the specified child.

SetSelectedGroup(Int32)

Sets the selection to the specified group.

SetShouldDockBigOverlays(Boolean)

Specifies a preference to dock big overlays like the expanded picture-in-picture on TV (see PictureInPictureParams.Builder#setExpandedAspectRatio).

(Inherited from Activity)
SetShowWhenLocked(Boolean)

Specifies whether an Activity should be shown on top of the lock screen whenever the lockscreen is up and the activity is resumed.

(Inherited from Activity)
SetTaskDescription(ActivityManager+TaskDescription)

Sets information describing the task with this activity for presentation inside the Recents System UI.

(Inherited from Activity)
SetTheme(Int32)

Set the base theme for this context.

(Inherited from ContextWrapper)
SetTheme(Resources+Theme)

Set the configure the current theme.

(Inherited from ContextThemeWrapper)
SetTitle(Int32)

Change the title associated with this activity.

(Inherited from Activity)
SetTranslucent(Boolean)

Convert an activity, which particularly with android.R.attr#windowIsTranslucent or android.R.attr#windowIsFloating attribute, to a fullscreen opaque activity, or convert it from opaque back to translucent.

(Inherited from Activity)
SetTurnScreenOn(Boolean)

Specifies whether the screen should be turned on when the Activity is resumed.

(Inherited from Activity)
SetVisible(Boolean)

Control whether this activity's main window is visible.

(Inherited from Activity)
SetVrModeEnabled(Boolean, ComponentName)

Enable or disable virtual reality (VR) mode for this Activity.

(Inherited from Activity)
SetWallpaper(Bitmap)
Obsolete.
(Inherited from ContextWrapper)
SetWallpaper(Stream)
Obsolete.
(Inherited from ContextWrapper)
ShouldDockBigOverlays()

Returns whether big overlays should be docked next to the activity as set by #setShouldDockBigOverlays.

(Inherited from Activity)
ShouldShowRequestPermissionRationale(String)

Gets whether you should show UI with rationale before requesting a permission.

(Inherited from Activity)
ShouldUpRecreateTask(Intent)

Returns true if the app should recreate the task when navigating 'up' from this activity by using targetIntent.

(Inherited from Activity)
ShowAssist(Bundle)

Ask to have the current assistant shown to the user.

(Inherited from Activity)
ShowDialog(Int32, Bundle)
Obsolete.

Show a dialog managed by this activity.

(Inherited from Activity)
ShowDialog(Int32)
Obsolete.

Simple version of #showDialog(int, Bundle) that does not take any arguments.

(Inherited from Activity)
ShowLockTaskEscapeMessage()

Shows the user the system defined message for telling the user how to exit lock task mode.

(Inherited from Activity)
StartActionMode(ActionMode+ICallback, ActionModeType)

Start an action mode of the default type ActionMode#TYPE_PRIMARY.

(Inherited from Activity)
StartActionMode(ActionMode+ICallback)

Start an action mode of the default type ActionMode#TYPE_PRIMARY.

(Inherited from Activity)
StartActivities(Intent[], Bundle)

Launch multiple new activities.

(Inherited from ContextWrapper)
StartActivities(Intent[])

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

(Inherited from ContextWrapper)
StartActivity(Intent, Bundle)

Launch a new activity.

(Inherited from ContextWrapper)
StartActivity(Intent)

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

(Inherited from ContextWrapper)
StartActivity(Type) (Inherited from Context)
StartActivityForResult(Intent, Int32, Bundle)

Launch an activity for which you would like a result when it finished.

(Inherited from Activity)
StartActivityForResult(Intent, Int32)

Same as calling #startActivityForResult(Intent, int, Bundle) with no options.

(Inherited from Activity)
StartActivityForResult(Type, Int32) (Inherited from Activity)
StartActivityFromChild(Activity, Intent, Int32, Bundle)

This is called when a child activity of this one calls its #startActivity or #startActivityForResult method.

(Inherited from Activity)
StartActivityFromChild(Activity, Intent, Int32)

Same as calling #startActivityFromChild(Activity, Intent, int, Bundle) with no options.

(Inherited from Activity)
StartActivityFromFragment(Fragment, Intent, Int32, Bundle)

This is called when a Fragment in this activity calls its Fragment#startActivity or Fragment#startActivityForResult method.

(Inherited from Activity)
StartActivityFromFragment(Fragment, Intent, Int32)

Same as calling #startActivityFromFragment(Fragment, Intent, int, Bundle) with no options.

(Inherited from Activity)
StartActivityIfNeeded(Intent, Int32, Bundle)

A special variation to launch an activity only if a new activity instance is needed to handle the given Intent.

(Inherited from Activity)
StartActivityIfNeeded(Intent, Int32)

Same as calling #startActivityIfNeeded(Intent, int, Bundle) with no options.

(Inherited from Activity)
StartForegroundService(Intent) (Inherited from ContextWrapper)
StartInstrumentation(ComponentName, String, Bundle)

Start executing an Instrumentation class.

(Inherited from ContextWrapper)
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32, Bundle)

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

(Inherited from ContextWrapper)
StartIntentSender(IntentSender, Intent, ActivityFlags, ActivityFlags, Int32) (Inherited from ContextWrapper)
StartIntentSenderForResult(IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32, Bundle)

Like #startActivityForResult(Intent, int), but allowing you to use a IntentSender to describe the activity to be started.

(Inherited from Activity)
StartIntentSenderForResult(IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32)

Same as calling #startIntentSenderForResult(IntentSender, int, Intent, int, int, int, Bundle) with no options.

(Inherited from Activity)
StartIntentSenderFromChild(Activity, IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32, Bundle)

Like #startActivityFromChild(Activity, Intent, int), but taking a IntentSender; see #startIntentSenderForResult(IntentSender, int, Intent, int, int, int) for more information.

(Inherited from Activity)
StartIntentSenderFromChild(Activity, IntentSender, Int32, Intent, ActivityFlags, ActivityFlags, Int32)

Same as calling #startIntentSenderFromChild(Activity, IntentSender, int, Intent, int, int, int, Bundle) with no options.

(Inherited from Activity)
StartLocalVoiceInteraction(Bundle)

Starts a local voice interaction session.

(Inherited from Activity)
StartLockTask()

Request to put this activity in a mode where the user is locked to a restricted set of applications.

(Inherited from Activity)
StartManagingCursor(ICursor)
Obsolete.

This method allows the activity to take care of managing the given Cursor's lifecycle for you based on the activity's lifecycle.

(Inherited from Activity)
StartNextMatchingActivity(Intent, Bundle)

Special version of starting an activity, for use when you are replacing other activity components.

(Inherited from Activity)
StartNextMatchingActivity(Intent)

Same as calling #startNextMatchingActivity(Intent, Bundle) with no options.

(Inherited from Activity)
StartPostponedEnterTransition()

Begin postponed transitions after #postponeEnterTransition() was called.

(Inherited from Activity)
StartSearch(String, Boolean, Bundle, Boolean)

This hook is called to launch the search UI.

(Inherited from Activity)
StartService(Intent)

Request that a given application service be started.

(Inherited from ContextWrapper)
StopLocalVoiceInteraction()

Request to terminate the current voice interaction that was previously started using #startLocalVoiceInteraction(Bundle).

(Inherited from Activity)
StopLockTask()

Stop the current task from being locked.

(Inherited from Activity)
StopManagingCursor(ICursor)
Obsolete.

Given a Cursor that was previously given to #startManagingCursor, stop the activity's management of that cursor.

(Inherited from Activity)
StopService(Intent)

Request that a given application service be stopped.

(Inherited from ContextWrapper)
TakeKeyEvents(Boolean)

Request that key events come to this activity.

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

Returns a string representation of the object.

(Inherited from Object)
TriggerSearch(String, Bundle)

Similar to #startSearch, but actually fires off the search query after invoking the search dialog.

(Inherited from Activity)
UnbindService(IServiceConnection)

Disconnect from an application service.

(Inherited from ContextWrapper)
UnregisterActivityLifecycleCallbacks(Application+IActivityLifecycleCallbacks)

Unregister an Application.ActivityLifecycleCallbacks previously registered with #registerActivityLifecycleCallbacks.

(Inherited from Activity)
UnregisterComponentCallbacks(IComponentCallbacks)

Remove a ComponentCallbacks object that was previously registered with #registerComponentCallbacks(ComponentCallbacks).

(Inherited from Context)
UnregisterDeviceIdChangeListener(IIntConsumer)

Removes a device ID changed listener from the Context.

(Inherited from Context)
UnregisterForContextMenu(View)

Prevents a context menu to be shown for the given view.

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

Unregister a previously registered BroadcastReceiver.

(Inherited from ContextWrapper)
UnregisterScreenCaptureCallback(Activity+IScreenCaptureCallback) (Inherited from Activity)
UpdateServiceGroup(IServiceConnection, Int32, Int32)

For a service previously bound with #bindService or a related method, change how the system manages that service's process in relation to other processes.

(Inherited from Context)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

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

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to