Google 致力于为黑人社区推动种族平等。查看具体举措

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 getPurchaseToken()

Returns token that identifies the purchase to be consumed

static ConsumeParams.Builder newBuilder()

Inherited methods

From class java.lang.Object

Public methods

getPurchaseToken

String getPurchaseToken ()

Returns token that identifies the purchase to be consumed

Returns
String

newBuilder

ConsumeParams.Builder newBuilder ()

Returns
ConsumeParams.Builder