StartAccountSetupRequest.Builder

public abstract class StartAccountSetupRequest.Builder


Builder for StartAccountSetupRequest.

Summary

Public methods

abstract StartAccountSetupRequest
StartAccountSetupRequest.Builder

Clears adminComponentName.

StartAccountSetupRequest.Builder

Clears notificationReceiverServiceComponentName.

StartAccountSetupRequest.Builder

The component name of the android.app.admin.DeviceAdminReceiver of the calling DPC.

abstract StartAccountSetupRequest.Builder

The enrollment token for the device.

StartAccountSetupRequest.Builder

The component name of the notification receiver service to be used for account setup notifications.

Public methods

build

public abstract StartAccountSetupRequest build()

clearAdminComponentName

public StartAccountSetupRequest.Builder clearAdminComponentName()

Clears adminComponentName.

clearNotificationReceiverServiceComponentName

public StartAccountSetupRequest.Builder clearNotificationReceiverServiceComponentName()

Clears notificationReceiverServiceComponentName.

setAdminComponentName

public StartAccountSetupRequest.Builder setAdminComponentName(@Nullable ComponentName value)

The component name of the android.app.admin.DeviceAdminReceiver of the calling DPC.

setEnrollmentToken

public abstract StartAccountSetupRequest.Builder setEnrollmentToken(String value)

The enrollment token for the device.

setNotificationReceiverServiceComponentName

public StartAccountSetupRequest.Builder setNotificationReceiverServiceComponentName(
    @Nullable ComponentName value
)

The component name of the notification receiver service to be used for account setup notifications. It must be a valid component belonging to the calling app, and exported in the manifest.