StartAccountSetupRequest

abstract class StartAccountSetupRequest


Request to the start account setup.

Summary

Nested types

Builder for StartAccountSetupRequest.

Public functions

java-static StartAccountSetupRequest.Builder!
ComponentName?

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

java-static StartAccountSetupRequest!
abstract String!

The enrollment token for the device.

ComponentName?

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

Boolean

Returns true if adminComponentName is set.

Boolean

Returns true if notificationReceiverServiceComponentName is set.

abstract StartAccountSetupRequest.Builder!

Public functions

builder

java-static fun builder(): StartAccountSetupRequest.Builder!

getAdminComponentName

fun getAdminComponentName(): ComponentName?

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

getDefaultInstance

java-static fun getDefaultInstance(): StartAccountSetupRequest!

getEnrollmentToken

abstract fun getEnrollmentToken(): String!

The enrollment token for the device.

getNotificationReceiverServiceComponentName

fun getNotificationReceiverServiceComponentName(): ComponentName?

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.

hasAdminComponentName

fun hasAdminComponentName(): Boolean

Returns true if adminComponentName is set.

hasNotificationReceiverServiceComponentName

fun hasNotificationReceiverServiceComponentName(): Boolean

Returns true if notificationReceiverServiceComponentName is set.

toBuilder

abstract fun toBuilder(): StartAccountSetupRequest.Builder!