PrintManager.IsPrintServiceEnabled(ComponentName) 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.
Checks whether a given print service is enabled.
[Android.Runtime.Register("isPrintServiceEnabled", "(Landroid/content/ComponentName;)Z", "", ApiSince=33)]
public bool IsPrintServiceEnabled (Android.Content.ComponentName service);
[<Android.Runtime.Register("isPrintServiceEnabled", "(Landroid/content/ComponentName;)Z", "", ApiSince=33)>]
member this.IsPrintServiceEnabled : Android.Content.ComponentName -> bool
Parameters
- service
- ComponentName
Returns
true if the given print service is enabled
- Attributes
Remarks
Checks whether a given print service is enabled. The provided service must share UID with the calling package, otherwise a SecurityException
is thrown.
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.