MockPackageManager.GetAllIntentFilters(String) Method
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.
Throws UnsupportedOperationException. Override this method to get a package's intent filters in a test.
[Android.Runtime.Register("getAllIntentFilters", "(Ljava/lang/String;)Ljava/util/List;", "GetGetAllIntentFilters_Ljava_lang_String_Handler", ApiSince=23)]
public virtual System.Collections.Generic.IList<Android.Content.IntentFilter>? GetAllIntentFilters(string? packageName);
[<Android.Runtime.Register("getAllIntentFilters", "(Ljava/lang/String;)Ljava/util/List;", "GetGetAllIntentFilters_Ljava_lang_String_Handler", ApiSince=23)>]
abstract member GetAllIntentFilters : string -> System.Collections.Generic.IList<Android.Content.IntentFilter>
override this.GetAllIntentFilters : string -> System.Collections.Generic.IList<Android.Content.IntentFilter>
Parameters
- packageName
- String
The package name. Available to a test override; the default mock implementation does not use this argument.
Returns
No value is returned. The default mock implementation throws UnsupportedOperationException; override this method to supply a test result.
- Attributes
Remarks
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.