DpcMigrationRequest

public abstract class DpcMigrationRequest


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

Summary

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

builder

public static DpcMigrationRequest.Builder builder()

getConfiguredWifiNetworks

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.

getDefaultInstance

public static DpcMigrationRequest getDefaultInstance()

getMigrationToken

public abstract String getMigrationToken()

The migration token as generated by AMAPI server.

toBuilder

public abstract DpcMigrationRequest.Builder toBuilder()