public interface

ProfileInstaller.DiagnosticsCallback

 androidx.profileinstaller.ProfileInstaller.DiagnosticsCallback

Overview

An object which can be passed to the ProfileInstaller which will receive information during the installation process which can be used for logging and telemetry.

Summary

Methods
public voidonDiagnosticReceived(int code, java.lang.Object data)

The diagnostic method will get called 0 to many times during the installation process, and is passed a [code] and optionally [data] which provides some information around the install process.

public voidonResultReceived(int code, java.lang.Object data)

The result method will get called exactly once per installation, with a [code] indicating what the result of the installation was.

Methods

public void onDiagnosticReceived(int code, java.lang.Object data)

The diagnostic method will get called 0 to many times during the installation process, and is passed a [code] and optionally [data] which provides some information around the install process.

Parameters:

code: An int specifying which diagnostic situation has occurred.
data: Optional data passed in that relates to the code passed.

public void onResultReceived(int code, java.lang.Object data)

The result method will get called exactly once per installation, with a [code] indicating what the result of the installation was.

Parameters:

code: An int specifying which result situation has occurred.
data: Optional data passed in that relates to the code that was passed.