StartAccountSetupRequest

public abstract class StartAccountSetupRequest


Request to the start account setup.

Summary

Nested types

public abstract class StartAccountSetupRequest.Builder

Builder for StartAccountSetupRequest.

Public methods

static StartAccountSetupRequest.Builder
@Nullable ComponentName

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

static StartAccountSetupRequest
abstract String

The enrollment token for the device.

@Nullable 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 methods

builder

public static StartAccountSetupRequest.Builder builder()

getAdminComponentName

public @Nullable ComponentName getAdminComponentName()

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

getDefaultInstance

public static StartAccountSetupRequest getDefaultInstance()

getEnrollmentToken

public abstract String getEnrollmentToken()

The enrollment token for the device.

getNotificationReceiverServiceComponentName

public @Nullable ComponentName getNotificationReceiverServiceComponentName()

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

public boolean hasAdminComponentName()

Returns true if adminComponentName is set.

hasNotificationReceiverServiceComponentName

public boolean hasNotificationReceiverServiceComponentName()

Returns true if notificationReceiverServiceComponentName is set.

toBuilder

public abstract StartAccountSetupRequest.Builder toBuilder()