Provider.Service.SupportsParameter(Object) 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.
Test whether this Service can use the specified parameter.
[Android.Runtime.Register("supportsParameter", "(Ljava/lang/Object;)Z", "GetSupportsParameter_Ljava_lang_Object_Handler")]
public virtual bool SupportsParameter (Java.Lang.Object parameter);
[<Android.Runtime.Register("supportsParameter", "(Ljava/lang/Object;)Z", "GetSupportsParameter_Ljava_lang_Object_Handler")>]
abstract member SupportsParameter : Java.Lang.Object -> bool
override this.SupportsParameter : Java.Lang.Object -> bool
Parameters
- parameter
- Object
the parameter to test
Returns
false if this this service cannot use the specified parameter; true if it can possibly use the parameter
- Attributes
Remarks
Test whether this Service can use the specified parameter. Returns false if this service cannot use the parameter. Returns true if this service can use the parameter, if a fast test is infeasible, or if the status is unknown.
The security provider framework uses this method with some types of services to quickly exclude non-matching implementations for consideration. Applications will typically not need to call it.
For details and the values of parameter that are valid for the various types of services see the top of this class and the
Java Cryptography Architecture API Specification & Reference. Security providers can override it to implement their own test.
Java documentation for java.security.Provider.Service.supportsParameter(java.lang.Object)
.
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.