Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

RewardLoadParams.Builder

public static class RewardLoadParams.Builder
extends Object

java.lang.Object
   ↳ com.android.billingclient.api.RewardLoadParams.Builder


Helps construct RewardLoadParams that are used to load rewarded SKUs

Summary

Public constructors

RewardLoadParams.Builder()

Public methods

RewardLoadParams build()

Returns RewardLoadParams reference to initiate load.

RewardLoadParams.Builder setSkuDetails(SkuDetails skuDetails)

Specify the SKU to load

Inherited methods

From class java.lang.Object

Public constructors

RewardLoadParams.Builder

RewardLoadParams.Builder ()

Public methods

build

RewardLoadParams build ()

Returns RewardLoadParams reference to initiate load.

Returns
RewardLoadParams

setSkuDetails

RewardLoadParams.Builder setSkuDetails (SkuDetails skuDetails)

Specify the SKU to load

Parameters
skuDetails SkuDetails: Required, the sku details object from querySkuDetailsAsync(SkuDetailsParams, SkuDetailsResponseListener).

Returns
RewardLoadParams.Builder this to continue construction.