欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

AcknowledgePurchaseParams

public final class AcknowledgePurchaseParams
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.AcknowledgePurchaseParams


Parameters to acknowledge a purchase. (See acknowledgePurchase(AcknowledgePurchaseParams, AcknowledgePurchaseResponseListener)

Summary

Nested classes

class AcknowledgePurchaseParams.Builder

Helps construct AcknowledgePurchaseParams that are used to acknowledge a purchase. 

Public methods

String getDeveloperPayload()

This method is deprecated. Developer payload has been deprecated. See https://developer.android.com/google/play/billing/billing_overview for recommended alternatives.

String getPurchaseToken()

Returns token that identifies the purchase to be acknowledged

static AcknowledgePurchaseParams.Builder newBuilder()

Inherited methods

From class java.lang.Object

Public methods

getDeveloperPayload

String getDeveloperPayload ()

This method is deprecated.
Developer payload has been deprecated. See https://developer.android.com/google/play/billing/billing_overview for recommended alternatives.

Returns developer data associated with the purchase to be acknowledged.

Returns
String

getPurchaseToken

String getPurchaseToken ()

Returns token that identifies the purchase to be acknowledged

Returns
String