IntegrityDialogRequest.Builder

public abstract class IntegrityDialogRequest.Builder


Trình tạo cho IntegrityDialogRequest.

Tóm tắt

Hàm khởi tạo công khai

Phương thức công khai

abstract IntegrityDialogRequest

Tạo một IntegrityDialogRequest.

abstract IntegrityDialogRequest.Builder

Đặt hoạt động sẽ được dùng để hiện hộp thoại.

abstract IntegrityDialogRequest.Builder

Đặt kết quả kiểm tra tính toàn vẹn trước đó cho yêu cầu hộp thoại.

abstract IntegrityDialogRequest.Builder
setTypeCode(int typeCode)

Đặt loại hộp thoại.

Hàm khởi tạo công khai

Trình tạo

public Builder()

Phương thức công khai

build

public abstract IntegrityDialogRequest build()

Tạo một IntegrityDialogRequest.

setActivity

public abstract IntegrityDialogRequest.Builder setActivity(Activity activity)

Đặt hoạt động sẽ được dùng để hiện hộp thoại.

Tham số
Activity activity

hoạt động trên Android sẽ được dùng để hiện hộp thoại.

setIntegrityResponse

public abstract IntegrityDialogRequest.Builder setIntegrityResponse(
    IntegrityDialogRequest.IntegrityResponse integrityResponse
)

Đặt kết quả kiểm tra tính toàn vẹn trước đó cho yêu cầu hộp thoại.

Tham số
IntegrityDialogRequest.IntegrityResponse integrityResponse

IntegrityResponse đại diện cho IntegrityResponse.TokenResponse thành công hoặc IntegrityResponse.ExceptionDetails không thành công.

setTypeCode

public abstract IntegrityDialogRequest.Builder setTypeCode(int typeCode)

Đặt loại hộp thoại.

Tham số
int typeCode

xác định IntegrityDialogTypeCode nào sẽ xuất hiện.