DevicePolicyManager.IsDeviceFinanced Property
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.
Returns true
if this device is marked as a financed device.
public virtual bool IsDeviceFinanced { [Android.Runtime.Register("isDeviceFinanced", "()Z", "GetIsDeviceFinancedHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isDeviceFinanced", "()Z", "GetIsDeviceFinancedHandler", ApiSince=34)>]
member this.IsDeviceFinanced : bool
Property Value
- Attributes
Remarks
Returns true
if this device is marked as a financed device.
A financed device can be entered into lock task mode (see #setLockTaskPackages
) by the holder of the role android.app.role.RoleManager#ROLE_FINANCED_DEVICE_KIOSK
. If this occurs, Device Owners and Profile Owners that have set lock task packages or features, or that attempt to set lock task packages or features, will receive a callback indicating that it could not be set. See PolicyUpdateReceiver#onPolicyChanged
and PolicyUpdateReceiver#onPolicySetResult
.
To be informed of changes to this status you can subscribe to the broadcast ACTION_DEVICE_FINANCING_STATE_CHANGED
.
Java documentation for android.app.admin.DevicePolicyManager.isDeviceFinanced()
.
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.