# com.google.android.managementapi.dpcmigration

## Interfaces

|---|---|
| `DpcMigrationClient` | Client to make dpc migration related requests. |
| `DpcMigrationListener` | Listener which is notified of any changes related to DPC migration. |

## Classes

|---|---|
| `DpcMigrationClientFactory` | Factory to create `DpcMigrationClient` |

## Exceptions

|---|---|
| `DpcMigrationAccessWifiStatePermissionMissingException` | The DPC does not have `android.Manifest.permission.ACCESS_WIFI_STATE` permission required for Android 12. |
| `DpcMigrationAndroidDevicePolicyNotInstalledException` | Android Device Policy is not installed. |
| `DpcMigrationAndroidDevicePolicyNotUpToDateException` | Android Device Policy is not up to date. |
| `DpcMigrationApiLevelException` | The API level of the device is too low. |
| `DpcMigrationAwaitingMigrationException` | A migration is already in progress and another migration was attempted with a different migration token. |
| `DpcMigrationDeviceIdMismatchException` | The management token is meant for a different device. |
| `DpcMigrationDpcPackageNameMismatchException` | The package name of the DPC does not match the records in Play. |
| `DpcMigrationDpcPackageSignatureMismatchException` | The DPC package signature does not match the records in Play. |
| `DpcMigrationException` | Thrown when a dpc migration related call to Android Management API failed. |
| `DpcMigrationInternalException` | Dpc migration related call to Android Management API has failed. |
| `DpcMigrationManagedAccountException` | There was an error in verifying the Managed Google Play Account or managed Google Account on the device. |
| `DpcMigrationManagementModeMismatchException` | The management mode of the device does not match what is specified in the migration token. |
| `DpcMigrationTokenExpiredException` | The migration token has expired. |
| `DpcMigrationTokenParseException` | The migration token could not be parsed. |
| `DpcMigrationTokenSignatureException` | The migration token is not signed by Google. |
| `DpcMigrationUnknownException` | `DpcMigrationException` for unknown errors. |
| `DpcMigrationWifiRemovalRequestedOnCompanyOwnedDeviceException` | Removing Wi-Fi networks must not be requested in DpcMigrationRequest on company-owned devices. |