StartAccountSetupRequest

public abstract class StartAccountSetupRequest


Yêu cầu bắt đầu thiết lập tài khoản.

Tóm tắt

Các loại lồng nhau

public abstract class StartAccountSetupRequest.Builder

Trình tạo cho StartAccountSetupRequest.

Phương thức công khai

static StartAccountSetupRequest.Builder
@Nullable ComponentName

Tên thành phần của android.app.admin.DeviceAdminReceiver của DPC gọi.

static StartAccountSetupRequest
abstract String

Mã thông báo đăng ký cho thiết bị.

@Nullable ComponentName

Tên thành phần của dịch vụ nhận thông báo sẽ được dùng cho thông báo thiết lập tài khoản.

boolean

Trả về true nếu bạn đặt adminComponentName.

boolean

Trả về true nếu bạn đặt notificationReceiverServiceComponentName.

abstract StartAccountSetupRequest.Builder

Phương thức công khai

trình tạo

public static StartAccountSetupRequest.Builder builder()

getAdminComponentName

public @Nullable ComponentName getAdminComponentName()

Tên thành phần của android.app.admin.DeviceAdminReceiver của DPC gọi.

getDefaultInstance

public static StartAccountSetupRequest getDefaultInstance()

getEnrollmentToken

public abstract String getEnrollmentToken()

Mã thông báo đăng ký cho thiết bị.

getNotificationReceiverServiceComponentName

public @Nullable ComponentName getNotificationReceiverServiceComponentName()

Tên thành phần của dịch vụ nhận thông báo sẽ được dùng cho thông báo thiết lập tài khoản. Đây phải là một thành phần hợp lệ thuộc về ứng dụng gọi và được xuất trong tệp kê khai.

hasAdminComponentName

public boolean hasAdminComponentName()

Trả về true nếu bạn đặt adminComponentName.

hasNotificationReceiverServiceComponentName

public boolean hasNotificationReceiverServiceComponentName()

Trả về true nếu bạn đặt notificationReceiverServiceComponentName.

toBuilder

public abstract StartAccountSetupRequest.Builder toBuilder()