IListHarmfulAppsCallback

  • IListHarmfulAppsCallback is a callback object used to receive results from the listHarmfulApps API.

  • It includes a nested class, IListHarmfulAppsCallback.Stub, and a public method, onListHarmfulAppsResult.

  • The onListHarmfulAppsResult method returns a boolean indicating success and a byte array containing the results.

public interface IListHarmfulAppsCallback implements IInterface
Known Indirect Subclasses

This is a callback object to return the results from the listHarmfulApps API in IPackageVerificationApiService.

Nested Class Summary

class IListHarmfulAppsCallback.Stub  

Public Method Summary

abstract void
onListHarmfulAppsResult(boolean success, byte[] result)
This will be called with the results of the listHarmfulApps API.

Inherited Method Summary

Public Methods

public abstract void onListHarmfulAppsResult (boolean success, byte[] result)

This will be called with the results of the listHarmfulApps API.

Parameters
success false if there was an error while getting the list of harmful apps, otherwise true.
result A HarmfulApps protobuf message encoded as a byte array, or null if success is false