public static class IAppsService.Default extends Object implements IAppsService
IAppsService.Default, IAppsService.Stub
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
IBinder |
asBinder() |
App |
getApp(ResultStatus resultStatus)
Get App object with information about this app.
|
AppBillingInfo |
getAppBillingInfo(ResultStatus resultStatus)
Get AppBillingInfo object with billing information for the merchant running this app.
|
void |
logMetered(String meteredId,
int numberOfEvent,
ResultStatus resultStatus)
Log a metered event occurance.
|
void |
setSmartReceiptText(String text,
ResultStatus resultStatus)
Update the Smart Receipt text for this app.
|
void |
setSmartReceiptUrl(String url,
ResultStatus resultStatus)
Update the Smart Receipt URL for this app.
|
public App getApp(ResultStatus resultStatus) throws RemoteException
getApp
in interface IAppsService
resultStatus
- an output parameter with the result of the operationRemoteException
public void logMetered(String meteredId, int numberOfEvent, ResultStatus resultStatus) throws RemoteException
logMetered
in interface IAppsService
meteredId
- the id of the meter option to lognumberOfEvent
- the count of how many events occuredresultStatus
- an output parameter with the result of the operationRemoteException
public AppBillingInfo getAppBillingInfo(ResultStatus resultStatus) throws RemoteException
getAppBillingInfo
in interface IAppsService
resultStatus
- an output parameter with the result of the operationRemoteException
public void setSmartReceiptText(String text, ResultStatus resultStatus) throws RemoteException
setSmartReceiptText
in interface IAppsService
text
- the text to display on the receiptresultStatus
- an output parameter with the result of the operationRemoteException
public void setSmartReceiptUrl(String url, ResultStatus resultStatus) throws RemoteException
setSmartReceiptUrl
in interface IAppsService
text
- the URL to be used on the receiptresultStatus
- an output parameter with the result of the operationRemoteException
public IBinder asBinder()
asBinder
in interface IInterface