StartAccountSetupRequest.Builder

abstract class StartAccountSetupRequest.Builder


Builder for StartAccountSetupRequest.

Summary

Public functions

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 functions

build

abstract fun build(): StartAccountSetupRequest!

clearAdminComponentName

fun clearAdminComponentName(): StartAccountSetupRequest.Builder!

Clears adminComponentName.

clearNotificationReceiverServiceComponentName

fun clearNotificationReceiverServiceComponentName(): StartAccountSetupRequest.Builder!

Clears notificationReceiverServiceComponentName.

setAdminComponentName

fun setAdminComponentName(value: ComponentName?): StartAccountSetupRequest.Builder!

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

setEnrollmentToken

abstract fun setEnrollmentToken(value: String!): StartAccountSetupRequest.Builder!

The enrollment token for the device.

setNotificationReceiverServiceComponentName

fun setNotificationReceiverServiceComponentName(value: ComponentName?): StartAccountSetupRequest.Builder!

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.