public abstract class DpcMigrationRequest

Request for migrating from a custom DPC to Android Management API.


Nested types

public abstract class DpcMigrationRequest.Builder

Builder for DpcMigrationRequest.

public abstract class DpcMigrationRequest.WifiNetwork

Information on Wi-Fi network configured by source DPC and is used for removing the network.

Builder for DpcMigrationRequest.WifiNetwork.

Public methods

static DpcMigrationRequest.Builder
abstract ImmutableList<DpcMigrationRequest.WifiNetwork>

Wi-Fi networks configured by source DPC.

static DpcMigrationRequest
abstract String

The migration token as generated by AMAPI server.

abstract DpcMigrationRequest.Builder

Public methods


public static DpcMigrationRequest.Builder builder()


public abstract ImmutableList<DpcMigrationRequest.WifiNetworkgetConfiguredWifiNetworks()

Wi-Fi networks configured by source DPC. These networks will be removed just before the device management is migrated to Android Device Policy. If you would like these networks to be added back, they should be a part of the policy configured using the Android Management API. This is needed only for work profiles on personally-owned devices, and must not be set otherwise.


public static DpcMigrationRequest getDefaultInstance()


public abstract String getMigrationToken()

The migration token as generated by AMAPI server.


public abstract DpcMigrationRequest.Builder toBuilder()