Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Moved the two "Increase" methods to the end, after all "Get" methods.

...

A string containing the device density.

getInAppPayment

Returns the payments made through the device.

Syntax

public static Double getInAppPayment()

Returns

The payments made through the device.

getNumProductPurchased

Returns the number of products purchased through your app on this device.

Syntax

public static  Integer getNumProductPurchased()

Returns

An integer indicating the number of products purchased.

increaseInAppPayment

Increases the app payment by adding the given float value.

Syntax

public static boolean increaseInAppPayment(float value)

...

float value - the value by which the app payment is to be increased.

Returns

true if the app payment was increased successfully; false otherwise.

...

Increases the number of products purchased through your app on this device, by adding the given integer value.

Syntax

public static boolean increaseNumProductPurchased(int value) 

...

int value - the number by which the number of products purchased is to be increased.

Returns

true if the number of products purchased was increased successfully; false otherwise.

getInAppPayment

Returns the payments made through the device.

Syntax

public static Double getInAppPayment()

Returns

The payments made through the device.

getNumProductPurchased

Returns the number of products purchased through your app on this device.

Syntax

public static  Integer getNumProductPurchased()

Returns

An integer indicating the number of products purchased.