Android 11 デベロッパー プレビュー 2 が公開されました。ぜひお試しのうえ、フィードバックをお寄せください

ConsumeParams

public final class ConsumeParams
extends Object

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


Parameters to consume a purchase. (See consumeAsync(ConsumeParams, ConsumeResponseListener)

Summary

Nested classes

class ConsumeParams.Builder

Helps construct ConsumeParams that are used to consume 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 consumed

static ConsumeParams.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 consumed.

Returns
String

getPurchaseToken

String getPurchaseToken ()

Returns token that identifies the purchase to be consumed

Returns
String

newBuilder

ConsumeParams.Builder newBuilder ()

Returns
ConsumeParams.Builder