DpcMigrationRequest.Builder

public abstract class DpcMigrationRequest.Builder


Builder for DpcMigrationRequest.

Summary

Public methods

abstract DpcMigrationRequest
DpcMigrationRequest.Builder

Wi-Fi networks configured by source DPC.

abstract DpcMigrationRequest.Builder

The migration token as generated by AMAPI server.

Public methods

build

public abstract DpcMigrationRequest build()

setConfiguredWifiNetworks

@CanIgnoreReturnValue
public DpcMigrationRequest.Builder setConfiguredWifiNetworks(
    Iterable<DpcMigrationRequest.WifiNetwork> value
)

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.

setMigrationToken

public abstract DpcMigrationRequest.Builder setMigrationToken(String value)

The migration token as generated by AMAPI server.