AutofillService Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An AutofillService
is a service used to automatically fill the contents of the screen
on behalf of a given user - for more information about autofill, read
Autofill Framework.
[Android.Runtime.Register("android/service/autofill/AutofillService", ApiSince=26, DoNotGenerateAcw=true)]
public abstract class AutofillService : Android.App.Service
[<Android.Runtime.Register("android/service/autofill/AutofillService", ApiSince=26, DoNotGenerateAcw=true)>]
type AutofillService = class
inherit Service
- Inheritance
- Attributes
Remarks
An AutofillService
is a service used to automatically fill the contents of the screen on behalf of a given user - for more information about autofill, read Autofill Framework.
An AutofillService
is only bound to the Android System for autofill purposes if: <ol> <li>It requires the android.permission.BIND_AUTOFILL_SERVICE
permission in its manifest. <li>The user explicitly enables it using Android Settings (the Settings#ACTION_REQUEST_SET_AUTOFILL_SERVICE
intent can be used to launch such Settings screen). </ol>
"BasicUsage"><h3>Basic usage</h3>
The basic autofill process is defined by the workflow below: <ol> <li>User focus an editable View
. <li>View calls AutofillManager#notifyViewEntered(android.view.View)
. <li>A ViewStructure
representing all views in the screen is created. <li>The Android System binds to the service and calls #onConnected()
. <li>The service receives the view structure through the #onFillRequest(FillRequest, CancellationSignal, FillCallback)
. <li>The service replies through FillCallback#onSuccess(FillResponse)
. <li>The Android System calls #onDisconnected()
and unbinds from the AutofillService
. <li>The Android System displays an autofill UI with the options sent by the service. <li>The user picks an option. <li>The proper views are autofilled. </ol>
This workflow was designed to minimize the time the Android System is bound to the service; for each call, it: binds to service, waits for the reply, and unbinds right away. Furthermore, those calls are considered stateless: if the service needs to keep state between calls, it must do its own state management (keeping in mind that the service's process might be killed by the Android System when unbound; for example, if the device is running low in memory).
Typically, the #onFillRequest(FillRequest, CancellationSignal, FillCallback)
will: <ol> <li>Parse the view structure looking for autofillable views (for example, using android.app.assist.AssistStructure.ViewNode#getAutofillHints()
. <li>Match the autofillable views with the user's data. <li>Create a Dataset
for each set of user's data that match those fields. <li>Fill the dataset(s) with the proper AutofillId
s and AutofillValue
s. <li>Add the dataset(s) to the FillResponse
passed to FillCallback#onSuccess(FillResponse)
. </ol>
For example, for a login screen with username and password views where the user only has one account in the service, the response could be:
new FillResponse.Builder()
.addDataset(new Dataset.Builder()
.setValue(id1, AutofillValue.forText("homer"), createPresentation("homer"))
.setValue(id2, AutofillValue.forText("D'OH!"), createPresentation("password for homer"))
.build())
.build();
But if the user had 2 accounts instead, the response could be:
new FillResponse.Builder()
.addDataset(new Dataset.Builder()
.setValue(id1, AutofillValue.forText("homer"), createPresentation("homer"))
.setValue(id2, AutofillValue.forText("D'OH!"), createPresentation("password for homer"))
.build())
.addDataset(new Dataset.Builder()
.setValue(id1, AutofillValue.forText("flanders"), createPresentation("flanders"))
.setValue(id2, AutofillValue.forText("OkelyDokelyDo"), createPresentation("password for flanders"))
.build())
.build();
If the service does not find any autofillable view in the view structure, it should pass null
to FillCallback#onSuccess(FillResponse)
; if the service encountered an error processing the request, it should call FillCallback#onFailure(CharSequence)
. For performance reasons, it's paramount that the service calls either FillCallback#onSuccess(FillResponse)
or FillCallback#onFailure(CharSequence)
for each #onFillRequest(FillRequest, CancellationSignal, FillCallback)
received - if it doesn't, the request will eventually time out and be discarded by the Android System.
"SavingUserData"><h3>Saving user data</h3>
If the service is also interested on saving the data filled by the user, it must set a SaveInfo
object in the FillResponse
. See SaveInfo
for more details and examples.
"UserAuthentication"><h3>User authentication</h3>
The service can provide an extra degree of security by requiring the user to authenticate before an app can be autofilled. The authentication is typically required in 2 scenarios: <ul> <li>To unlock the user data (for example, using a main password or fingerprint authentication) - see FillResponse.Builder#setAuthentication(AutofillId[], android.content.IntentSender, android.widget.RemoteViews)
. <li>To unlock a specific dataset (for example, by providing a CVC for a credit card) - see Dataset.Builder#setAuthentication(android.content.IntentSender)
. </ul>
When using authentication, it is recommended to encrypt only the sensitive data and leave labels unencrypted, so they can be used on presentation views. For example, if the user has a home and a work address, the Home
and Work
labels should be stored unencrypted (since they don't have any sensitive data) while the address data per se could be stored in an encrypted storage. Then when the user chooses the Home
dataset, the platform starts the authentication flow, and the service can decrypt the sensitive data.
The authentication mechanism can also be used in scenarios where the service needs multiple steps to determine the datasets that can fill a screen. For example, when autofilling a financial app where the user has accounts for multiple banks, the workflow could be:
<ol> <li>The first FillResponse
contains datasets with the credentials for the financial app, plus a "fake" dataset whose presentation says "Tap here for banking apps credentials". <li>When the user selects the fake dataset, the service displays a dialog with available banking apps. <li>When the user select a banking app, the service replies with a new FillResponse
containing the datasets for that bank. </ol>
Another example of multiple-steps dataset selection is when the service stores the user credentials in "vaults": the first response would contain fake datasets with the vault names, and the subsequent response would contain the app credentials stored in that vault.
"DataPartioning"><h3>Data partitioning</h3>
The autofillable views in a screen should be grouped in logical groups called "partitions". Typical partitions are: <ul> <li>Credentials (username/email address, password). <li>Address (street, city, state, zip code, etc). <li>Payment info (credit card number, expiration date, and verification code). </ul>
For security reasons, when a screen has more than one partition, it's paramount that the contents of a dataset do not spawn multiple partitions, specially when one of the partitions contains data that is not specific to the application being autofilled. For example, a dataset should not contain fields for username, password, and credit card information. The reason for this rule is that a malicious app could draft a view structure where the credit card fields are not visible, so when the user selects a dataset from the username UI, the credit card info is released to the application without the user knowledge. Similarly, it's recommended to always protect a dataset that contains sensitive information by requiring dataset authentication (see Dataset.Builder#setAuthentication(android.content.IntentSender)
), and to include info about the "primary" field of the partition in the custom presentation for "secondary" fields—that would prevent a malicious app from getting the "primary" fields without the user realizing they're being released (for example, a malicious app could have fields for a credit card number, verification code, and expiration date crafted in a way that just the latter is visible; by explicitly indicating the expiration date is related to a given credit card number, the service would be providing a visual clue for the users to check what would be released upon selecting that field).
When the service detects that a screen has multiple partitions, it should return a FillResponse
with just the datasets for the partition that originated the request (i.e., the partition that has the android.app.assist.AssistStructure.ViewNode
whose android.app.assist.AssistStructure.ViewNode#isFocused()
returns true
); then if the user selects a field from a different partition, the Android System will make another #onFillRequest(FillRequest, CancellationSignal, FillCallback)
call for that partition, and so on.
Notice that when the user autofill a partition with the data provided by the service and the user did not change these fields, the autofilled value is sent back to the service in the subsequent calls (and can be obtained by calling android.app.assist.AssistStructure.ViewNode#getAutofillValue()
). This is useful in the cases where the service must create datasets for a partition based on the choice made in a previous partition. For example, the 1st response for a screen that have credentials and address partitions could be:
new FillResponse.Builder()
.addDataset(new Dataset.Builder() // partition 1 (credentials)
.setValue(id1, AutofillValue.forText("homer"), createPresentation("homer"))
.setValue(id2, AutofillValue.forText("D'OH!"), createPresentation("password for homer"))
.build())
.addDataset(new Dataset.Builder() // partition 1 (credentials)
.setValue(id1, AutofillValue.forText("flanders"), createPresentation("flanders"))
.setValue(id2, AutofillValue.forText("OkelyDokelyDo"), createPresentation("password for flanders"))
.build())
.setSaveInfo(new SaveInfo.Builder(SaveInfo.SAVE_DATA_TYPE_PASSWORD,
new AutofillId[] { id1, id2 })
.build())
.build();
Then if the user selected flanders
, the service would get a new #onFillRequest(FillRequest, CancellationSignal, FillCallback)
call, with the values of the fields id1
and id2
prepopulated, so the service could then fetch the address for the Flanders account and return the following FillResponse
for the address partition:
new FillResponse.Builder()
.addDataset(new Dataset.Builder() // partition 2 (address)
.setValue(id3, AutofillValue.forText("744 Evergreen Terrace"), createPresentation("744 Evergreen Terrace")) // street
.setValue(id4, AutofillValue.forText("Springfield"), createPresentation("Springfield")) // city
.build())
.setSaveInfo(new SaveInfo.Builder(SaveInfo.SAVE_DATA_TYPE_PASSWORD | SaveInfo.SAVE_DATA_TYPE_ADDRESS,
new AutofillId[] { id1, id2 }) // username and password
.setOptionalIds(new AutofillId[] { id3, id4 }) // state and zipcode
.build())
.build();
When the service returns multiple FillResponse
, the last one overrides the previous; that's why the SaveInfo
in the 2nd request above has the info for both partitions.
"PackageVerification"><h3>Package verification</h3>
When autofilling app-specific data (like username and password), the service must verify the authenticity of the request by obtaining all signing certificates of the app being autofilled, and only fulfilling the request when they match the values that were obtained when the data was first saved — such verification is necessary to avoid phishing attempts by apps that were sideloaded in the device with the same package name of another app. Here's an example on how to achieve that by hashing the signing certificates:
private String getCertificatesHash(String packageName) throws Exception {
PackageManager pm = mContext.getPackageManager();
PackageInfo info = pm.getPackageInfo(packageName, PackageManager.GET_SIGNATURES);
ArrayList<String> hashes = new ArrayList<>(info.signatures.length);
for (Signature sig : info.signatures) {
byte[] cert = sig.toByteArray();
MessageDigest md = MessageDigest.getInstance("SHA-256");
md.update(cert);
hashes.add(toHexString(md.digest()));
}
Collections.sort(hashes);
StringBuilder hash = new StringBuilder();
for (int i = 0; i < hashes.size(); i++) {
hash.append(hashes.get(i));
}
return hash.toString();
}
If the service did not store the signing certificates data the first time the data was saved — for example, because the data was created by a previous version of the app that did not use the Autofill Framework — the service should warn the user that the authenticity of the app cannot be confirmed (see an example on how to show such warning in the Web security section below), and if the user agrees, then the service could save the data from the signing ceriticates for future use.
"IgnoringViews"><h3>Ignoring views</h3>
If the service find views that cannot be autofilled (for example, a text field representing the response to a Captcha challenge), it should mark those views as ignored by calling FillResponse.Builder#setIgnoredIds(AutofillId...)
so the system does not trigger a new #onFillRequest(FillRequest, CancellationSignal, FillCallback)
when these views are focused.
"WebSecurity"><h3>Web security</h3>
When handling autofill requests that represent web pages (typically view structures whose root's android.app.assist.AssistStructure.ViewNode#getClassName()
is a android.webkit.WebView
), the service should take the following steps to verify if the structure can be autofilled with the data associated with the app requesting it:
<ol> <li>Use the android.app.assist.AssistStructure.ViewNode#getWebDomain()
to get the source of the document. <li>Get the canonical domain using the Public Suffix List (see example below). <li>Use Digital Asset Links to obtain the package name and certificate fingerprint of the package corresponding to the canonical domain. <li>Make sure the certificate fingerprint matches the value returned by Package Manager (see "Package verification" section above). </ol>
Here's an example on how to get the canonical domain using Guava:
private static String getCanonicalDomain(String domain) {
InternetDomainName idn = InternetDomainName.from(domain);
while (idn != null && !idn.isTopPrivateDomain()) {
idn = idn.parent();
}
return idn == null ? null : idn.toString();
}
"WebSecurityDisclaimer">
If the association between the web domain and app package cannot be verified through the steps above, but the service thinks that it is appropriate to fill persisted credentials that are stored for the web domain, the service should warn the user about the potential data leakage first, and ask for the user to confirm. For example, the service could:
<ol> <li>Create a dataset that requires Dataset.Builder#setAuthentication(android.content.IntentSender) authentication
to unlock. <li>Include the web domain in the custom presentation for the Dataset.Builder#setValue(AutofillId, AutofillValue, android.widget.RemoteViews) dataset value
. <li>When the user selects that dataset, show a disclaimer dialog explaining that the app is requesting credentials for a web domain, but the service could not verify if the app owns that domain. If the user agrees, then the service can unlock the dataset. <li>Similarly, when adding a SaveInfo
object for the request, the service should include the above disclaimer in the SaveInfo.Builder#setDescription(CharSequence)
. </ol>
This same procedure could also be used when the autofillable data is contained inside an IFRAME
, in which case the WebView generates a new autofill context when a node inside the IFRAME
is focused, with the root node containing the IFRAME
's src
attribute on android.app.assist.AssistStructure.ViewNode#getWebDomain()
. A typical and legitimate use case for this scenario is a financial app that allows the user to login on different bank accounts. For example, a financial app my_financial_app
could use a WebView that loads contents from banklogin.my_financial_app.com
, which contains an IFRAME
node whose src
attribute is login.some_bank.com
. When fulfilling that request, the service could add an Dataset.Builder#setAuthentication(android.content.IntentSender) authenticated dataset
whose presentation displays "Username for some_bank.com" and "Password for some_bank.com". Then when the user taps one of these options, the service shows the disclaimer dialog explaining that selecting that option would release the login.some_bank.com
credentials to the my_financial_app
; if the user agrees, then the service returns an unlocked dataset with the some_bank.com
credentials.
<b>Note:</b> The autofill service could also add well-known browser apps into an allowlist and skip the verifications above, as long as the service can verify the authenticity of the browser app by checking its signing certificate.
"MultipleStepsSave"><h3>Saving when data is split in multiple screens</h3>
Apps often split the user data in multiple screens in the same activity, specially in activities used to create a new user account. For example, the first screen asks for a username, and if the username is available, it moves to a second screen, which asks for a password.
It's tricky to handle save for autofill in these situations, because the autofill service must wait until the user enters both fields before the autofill save UI can be shown. But it can be done by following the steps below:
<ol> <li>In the first #onFillRequest(FillRequest, CancellationSignal, FillCallback) fill request
, the service adds a FillResponse.Builder#setClientState(android.os.Bundle) client state bundle
in the response, containing the autofill ids of the partial fields present in the screen. <li>In the second #onFillRequest(FillRequest, CancellationSignal, FillCallback) fill request
, the service retrieves the FillRequest#getClientState() client state bundle
, gets the autofill ids set in the previous request from the client state, and adds these ids and the SaveInfo#FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE
to the SaveInfo
used in the second response. <li>In the #onSaveRequest(SaveRequest, SaveCallback) save request
, the service uses the proper FillContext fill contexts
to get the value of each field (there is one fill context per fill request). </ol>
For example, in an app that uses 2 steps for the username and password fields, the workflow would be:
// On first fill request
AutofillId usernameId = // parse from AssistStructure;
Bundle clientState = new Bundle();
clientState.putParcelable("usernameId", usernameId);
fillCallback.onSuccess(
new FillResponse.Builder()
.setClientState(clientState)
.setSaveInfo(new SaveInfo
.Builder(SaveInfo.SAVE_DATA_TYPE_USERNAME, new AutofillId[] {usernameId})
.build())
.build());
// On second fill request
Bundle clientState = fillRequest.getClientState();
AutofillId usernameId = clientState.getParcelable("usernameId");
AutofillId passwordId = // parse from AssistStructure
clientState.putParcelable("passwordId", passwordId);
fillCallback.onSuccess(
new FillResponse.Builder()
.setClientState(clientState)
.setSaveInfo(new SaveInfo
.Builder(SaveInfo.SAVE_DATA_TYPE_USERNAME | SaveInfo.SAVE_DATA_TYPE_PASSWORD,
new AutofillId[] {usernameId, passwordId})
.setFlags(SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE)
.build())
.build());
// On save request
Bundle clientState = saveRequest.getClientState();
AutofillId usernameId = clientState.getParcelable("usernameId");
AutofillId passwordId = clientState.getParcelable("passwordId");
List<FillContext> fillContexts = saveRequest.getFillContexts();
FillContext usernameContext = fillContexts.get(0);
ViewNode usernameNode = findNodeByAutofillId(usernameContext.getStructure(), usernameId);
AutofillValue username = usernameNode.getAutofillValue().getTextValue().toString();
FillContext passwordContext = fillContexts.get(1);
ViewNode passwordNode = findNodeByAutofillId(passwordContext.getStructure(), passwordId);
AutofillValue password = passwordNode.getAutofillValue().getTextValue().toString();
save(username, password);
"Privacy"><h3>Privacy</h3>
The #onFillRequest(FillRequest, CancellationSignal, FillCallback)
method is called without the user content. The Android system strips some properties of the android.app.assist.AssistStructure.ViewNode view nodes
passed to this call, but not all of them. For example, the data provided in the android.view.ViewStructure.HtmlInfo
objects set by android.webkit.WebView
is never stripped out.
Because this data could contain PII (Personally Identifiable Information, such as username or email address), the service should only use it locally (i.e., in the app's process) for heuristics purposes, but it should not be sent to external servers.
"FieldClassification"><h3>Metrics and field classification</h3>
The service can call #getFillEventHistory()
to get metrics representing the user actions, and then use these metrics to improve its heuristics.
Prior to Android android.os.Build.VERSION_CODES#P
, the metrics covered just the scenarios where the service knew how to autofill an activity, but Android android.os.Build.VERSION_CODES#P
introduced a new mechanism called field classification, which allows the service to dynamically classify the meaning of fields based on the existing user data known by the service.
Typically, field classification can be used to detect fields that can be autofilled with user data that is not associated with a specific app—such as email and physical address. Once the service identifies that a such field was manually filled by the user, the service could use this signal to improve its heuristics on subsequent requests (for example, by infering which resource ids are associated with known fields).
The field classification workflow involves 4 steps:
<ol> <li>Set the user data through AutofillManager#setUserData(UserData)
. This data is cached until the system restarts (or the service is disabled), so it doesn't need to be set for all requests. <li>Identify which fields should be analysed by calling FillResponse.Builder#setFieldClassificationIds(AutofillId...)
. <li>Verify the results through FillEventHistory.Event#getFieldsClassification()
. <li>Use the results to dynamically create Dataset
or SaveInfo
objects in subsequent requests. </ol>
The field classification is an expensive operation and should be used carefully, otherwise it can reach its rate limit and get blocked by the Android System. Ideally, it should be used just in cases where the service could not determine how an activity can be autofilled, but it has a strong suspicious that it could. For example, if an activity has four or more fields and one of them is a list, chances are that these are address fields (like address, city, state, and zip code).
"CompatibilityMode"><h3>Compatibility mode</h3>
Apps that use standard Android widgets support autofill out-of-the-box and need to do very little to improve their user experience (annotating autofillable views and providing autofill hints). However, some apps (typically browsers) do their own rendering and the rendered content may contain semantic structure that needs to be surfaced to the autofill framework. The platform exposes APIs to achieve this, however it could take some time until these apps implement autofill support.
To enable autofill for such apps the platform provides a compatibility mode in which the platform would fall back to the accessibility APIs to generate the state reported to autofill services and fill data. This mode needs to be explicitly requested for a given package up to a specified max version code allowing clean migration path when the target app begins to support autofill natively. Note that enabling compatibility may degrade performance for the target package and should be used with caution. The platform supports creating an allowlist for including which packages can be targeted in compatibility mode to ensure this mode is used only when needed and as long as needed.
You can request compatibility mode for packages of interest in the meta-data resource associated with your service. Below is a sample service declaration:
<service android:name=".MyAutofillService"
android:permission="android.permission.BIND_AUTOFILL_SERVICE">
<intent-filter>
<action android:name="android.service.autofill.AutofillService" />
</intent-filter>
<meta-data android:name="android.autofill" android:resource="@xml/autofillservice" />
</service>
In the XML file you can specify one or more packages for which to enable compatibility mode. Below is a sample meta-data declaration:
<autofill-service xmlns:android="http://schemas.android.com/apk/res/android">
<compatibility-package android:name="foo.bar.baz" android:maxLongVersionCode="1000000000"/>
</autofill-service>
Notice that compatibility mode has limitations such as: <ul> <li>No manual autofill requests. Hence, the FillRequest
FillRequest#getFlags() flags
never have the FillRequest#FLAG_MANUAL_REQUEST
flag. <li>The value of password fields are most likely masked—for example, ****
instead of 1234
. Hence, you must be careful when using these values to avoid updating the user data with invalid input. For example, when you parse the FillRequest
and detect a password field, you could check if its android.app.assist.AssistStructure.ViewNode#getInputType() input type
has password flags and if so, don't add it to the SaveInfo
object. <li>The autofill context is not always AutofillManager#commit() committed
when an HTML form is submitted. Hence, you must use other mechanisms to trigger save, such as setting the SaveInfo#FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE
flag on SaveInfo.Builder#setFlags(int)
or using SaveInfo.Builder#setTriggerId(AutofillId)
. <li>Browsers often provide their own autofill management system. When both the browser and the platform render an autofill dialog at the same time, the result can be confusing to the user. Such browsers typically offer an option for users to disable autofill, so your service should also allow users to disable compatiblity mode for specific apps. That way, it is up to the user to decide which autofill mechanism—the browser's or the platform's—should be used. </ul>
Java documentation for android.service.autofill.AutofillService
.
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
AutofillService() | |
AutofillService(IntPtr, JniHandleOwnership) |
Fields
AccessibilityService |
Use with |
AccountService |
Use with |
ActivityService |
Use with |
AlarmService |
Use with |
AppOpsService |
Use with |
AppSearchService |
Use with |
AppwidgetService |
Use with |
AudioService |
Use with |
BatteryService |
Use with |
BindAllowActivityStarts |
Obsolete.
Flag for |
BindExternalServiceLong |
Works in the same way as |
BindNotPerceptible |
Obsolete.
Flag for |
BindSharedIsolatedProcess |
Obsolete.
Flag for |
BiometricService |
Use with |
BlobStoreService |
Use with |
BluetoothService |
Use with |
BugreportService |
Service to capture a bugreport. (Inherited from Context) |
CameraService |
Use with |
CaptioningService |
Use with |
CarrierConfigService |
Use with |
ClipboardService |
Use with |
CompanionDeviceService |
Use with |
ConnectivityDiagnosticsService |
Use with |
ConnectivityService |
Use with |
ConsumerIrService |
Use with |
CredentialService |
Use with |
CrossProfileAppsService |
Use with |
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 |
DevicePolicyService |
Use with |
DisplayHashService |
Use with |
DisplayService |
Use with |
DomainVerificationService |
Use with |
DownloadService |
Use with |
DropboxService |
Use with |
EuiccService |
Use with |
ExtraFillResponse |
Name of the |
FileIntegrityService |
Use with |
FingerprintService |
Use with |
GameService |
Use with |
GrammaticalInflectionService |
Use with |
HardwarePropertiesService |
Use with |
HealthconnectService |
Use with |
InputMethodService |
Use with |
InputService |
Use with |
IpsecService |
Use with |
JobSchedulerService |
Use with |
KeyguardService |
Use with |
LauncherAppsService |
Use with |
LayoutInflaterService |
Use with |
LocaleService |
Use with |
LocationService |
Use with |
MediaCommunicationService |
Use with |
MediaMetricsService |
Use with |
MediaProjectionService |
Use with |
MediaRouterService |
Use with |
MediaSessionService |
Use with |
MidiService |
Use with |
NetworkStatsService |
Use with |
NfcService |
Use with |
NotificationService |
Use with |
NsdService |
Use with |
OverlayService |
Use with |
PeopleService |
Use with |
PerformanceHintService |
Use with |
PowerService |
Use with |
PrintService |
|
ReceiverExported |
Obsolete.
Flag for |
ReceiverNotExported |
Obsolete.
Flag for |
ReceiverVisibleToInstantApps |
Obsolete.
Flag for |
RestrictionsService |
Use with |
RoleService |
Use with |
SearchService |
Use with |
SensorService |
Use with |
ServiceInterface |
The |
ServiceMetaData |
Name under which a AutoFillService component publishes information about itself. |
ShortcutService |
Use with |
StatusBarService |
Use with |
StopForegroundDetach |
Obsolete.
Selector for |
StopForegroundLegacy |
Selector for |
StopForegroundRemove |
Obsolete.
Selector for |
StorageService |
Use with |
StorageStatsService |
Use with |
SystemHealthService |
Use with |
TelecomService |
Use with |
TelephonyImsService |
Use with |
TelephonyService |
Use with |
TelephonySubscriptionService |
Use with |
TextClassificationService |
Use with |
TextServicesManagerService |
Use with |
TvInputService |
Use with |
TvInteractiveAppService |
Use with |
UiModeService |
Use with |
UsageStatsService |
Use with |
UsbService |
Use with |
UserService |
Use with |
VibratorManagerService |
Use with |
VibratorService |
Use with |
VirtualDeviceService |
Use with |
VpnManagementService |
Use with |
WallpaperService |
Use with |
WifiAwareService |
Use with |
WifiP2pService |
Use with |
WifiRttRangingService |
Use with |
WifiService |
Use with |
WindowService |
Use with |
Properties
Application |
Return the application that owns this service. (Inherited from Service) |
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) |
Class |
Returns the runtime class of this |
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) |
ContentResolver |
Return a ContentResolver instance for your application's package. (Inherited from ContextWrapper) |
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) |
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) |
FillEventHistory |
Gets the events that happened after the last
|
ForegroundServiceType |
If the service has become a foreground service by calling
|
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
IsDeviceProtectedStorage | (Inherited from ContextWrapper) |
IsRestricted |
Indicates whether this Context is restricted. (Inherited from Context) |
IsUiContext |
Returns |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
MainExecutor |
Return an |
MainLooper |
Return the Looper for the main thread of the current process. (Inherited from ContextWrapper) |
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) |
OpPackageName |
Return the package name that should be used for |
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 |
PeerReference | (Inherited from Object) |
Resources |
Return a Resources instance for your application's package. (Inherited from ContextWrapper) |
Theme |
Return the Theme object associated with this Context. (Inherited from ContextWrapper) |
ThresholdClass | |
ThresholdType | |
Wallpaper | (Inherited from ContextWrapper) |
WallpaperDesiredMinimumHeight | (Inherited from ContextWrapper) |
WallpaperDesiredMinimumWidth | (Inherited from ContextWrapper) |
Methods
AttachBaseContext(Context) |
Set the base context for this ContextWrapper. (Inherited from ContextWrapper) |
BindService(Intent, Bind, IExecutor, IServiceConnection) |
Same as |
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 |
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) |
ClearWallpaper() |
Obsolete.
(Inherited from ContextWrapper)
|
Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
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 |
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) |
CreateWindowContext(Display, Int32, Bundle) |
Creates a |
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) |
Dispose() | (Inherited from Object) |
Dispose(Boolean) | (Inherited from Object) |
Dump(FileDescriptor, PrintWriter, String[]) |
Print the Service's state into the given stream. (Inherited from Service) |
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) |
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) |
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) |
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) |
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) |
MoveDatabaseFrom(Context, String) | (Inherited from ContextWrapper) |
MoveSharedPreferencesFrom(Context, String) | (Inherited from ContextWrapper) |
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) |
OnBind(Intent) | |
OnConfigurationChanged(Configuration) |
Called by the system when the device configuration changes while your component is running. (Inherited from Service) |
OnConnected() |
Called when the Android system connects to service. |
OnCreate() |
Called by the system when the service is first created. (Inherited from Service) |
OnDestroy() |
Called by the system to notify a Service that it is no longer used and is being removed. (Inherited from Service) |
OnDisconnected() |
Called when the Android system disconnects from the service. |
OnFillRequest(FillRequest, CancellationSignal, FillCallback) |
Called by the Android system do decide if a screen can be autofilled by the service. |
OnLowMemory() |
This is called when the overall system is running low on memory, and actively running processes should trim their memory usage. (Inherited from Service) |
OnRebind(Intent) |
Called when new clients have connected to the service, after it had
previously been notified that all had disconnected in its
|
OnSavedDatasetsInfoRequest(ISavedDatasetsInfoCallback) |
Called from system settings to display information about the datasets the user saved to this service. |
OnSaveRequest(SaveRequest, SaveCallback) |
Called when the user requests the service to save the contents of a screen. |
OnStart(Intent, Int32) |
Obsolete.
This member is deprecated. (Inherited from Service) |
OnStartCommand(Intent, StartCommandFlags, Int32) |
Called by the system every time a client explicitly starts the service by calling
|
OnTaskRemoved(Intent) |
This is called if the service is currently running and the user has removed a task that comes from the service's application. (Inherited from Service) |
OnTimeout(Int32) |
Callback called on timeout for |
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 Service) |
OnUnbind(Intent) |
Called when all clients have disconnected from a particular interface published by the service. (Inherited from Service) |
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) |
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) |
PeekWallpaper() |
Obsolete.
(Inherited from ContextWrapper)
|
RegisterComponentCallbacks(IComponentCallbacks) |
Add a new |
RegisterDeviceIdChangeListener(IExecutor, IIntConsumer) |
Adds a new device ID changed listener to the |
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) |
RemoveStickyBroadcast(Intent) |
Obsolete.
(Inherited from ContextWrapper)
|
RemoveStickyBroadcastAsUser(Intent, UserHandle) |
Obsolete.
(Inherited from ContextWrapper)
|
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) |
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 |
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) | (Inherited from ContextWrapper) |
SendOrderedBroadcastAsUser(Intent, UserHandle, String, BroadcastReceiver, Handler, Result, String, Bundle) | (Inherited from ContextWrapper) |
SendStickyBroadcast(Intent, Bundle) |
Perform a |
SendStickyBroadcast(Intent) |
Obsolete.
Perform a |
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)
|
SetForeground(Boolean) |
This member is deprecated. (Inherited from Service) |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
SetTheme(Int32) |
Set the base theme for this context. (Inherited from ContextWrapper) |
SetWallpaper(Bitmap) |
Obsolete.
(Inherited from ContextWrapper)
|
SetWallpaper(Stream) |
Obsolete.
(Inherited from ContextWrapper)
|
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) |
StartForeground(Int32, Notification, ForegroundService) |
An overloaded version of |
StartForeground(Int32, Notification) |
If your service is started (running through |
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) |
StartService(Intent) |
Request that a given application service be started. (Inherited from ContextWrapper) |
StopForeground(Boolean) |
Legacy version of |
StopForeground(StopForegroundFlags) |
Remove this service from foreground state, allowing it to be killed if more memory is needed. (Inherited from Service) |
StopSelf() |
Stop the service, if it was previously started. (Inherited from Service) |
StopSelf(Int32) |
Old version of |
StopSelfResult(Int32) |
Stop the service if the most recent time it was started was <var>startId</var>. (Inherited from Service) |
StopService(Intent) |
Request that a given application service be stopped. (Inherited from ContextWrapper) |
ToArray<T>() | (Inherited from Object) |
ToString() |
Returns a string representation of the object. (Inherited from Object) |
UnbindService(IServiceConnection) |
Disconnect from an application service. (Inherited from ContextWrapper) |
UnregisterComponentCallbacks(IComponentCallbacks) |
Remove a |
UnregisterDeviceIdChangeListener(IIntConsumer) |
Removes a device ID changed listener from the Context. (Inherited from Context) |
UnregisterFromRuntime() | (Inherited from Object) |
UnregisterReceiver(BroadcastReceiver) |
Unregister a previously registered BroadcastReceiver. (Inherited from ContextWrapper) |
UpdateServiceGroup(IServiceConnection, Int32, Int32) |
For a service previously bound with |
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) |