目录

class info
public interface IPPSChannelInfoService
AIDL service API used to obtain install referrer information.

Public Method Summary

Return typeMethod name
StringgetChannelInfo()

Obtains install referrer information.

Public Methods

Method
public String getChannelInfo() throws android.os.RemoteException
Obtains install referrer information.

Return

Return typedesc
String

Install referrer information is returned.

The value is in JSON format. Example: {"channelInfo":"http%3a%2f%2fwww.huawei.com%2fappgalley%2fc001231","clickTimestamp":1561820232123,"installTimestamp":1561820266321"}

In the format, channelInfo indicates the install referrer, clickTimestamp indicates the ad click timestamp, and installTimestamp indicates the app installation timestamp.

Throws

Parameter nameParameter desc
RemoteExceptionRemote service error.