OnDevicePersonalizationManager.QueryFeatureAvailability 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.
Get the status of a specific OnDevicePersonalization feature.
[Android.Runtime.Register("queryFeatureAvailability", "(Ljava/lang/String;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetQueryFeatureAvailability_Ljava_lang_String_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=36)]
public virtual void QueryFeatureAvailability(string featureName, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver receiver);
[<Android.Runtime.Register("queryFeatureAvailability", "(Ljava/lang/String;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetQueryFeatureAvailability_Ljava_lang_String_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=36)>]
abstract member QueryFeatureAvailability : string * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.QueryFeatureAvailability : string * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
Parameters
- featureName
- String
the name of the specific feature to check the availability of.
- executor
- IExecutor
the Executor
on which to invoke the callback
- receiver
- IOutcomeReceiver
this either returns a value of FeatureStatus
on success or Exception
on failure. The exception type is
IllegalStateException
if the service is not available.
- Attributes
Remarks
Get the status of a specific OnDevicePersonalization feature.
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.