PlayerIO

The fastest way to build online games without breaking a sweat.

Android Client Reference

Android  class documentationClass Achievement

Namespace: com.playerio
Language: Java

An Achievement

Methods

 
public String
getDescription ()

The description

public String
getId ()

The id of the achievement

public String
getImageUrl ()

An url to the image of the achievement

public Date
getLastUpdated ()

Last updated time, in UTC

public int
getProgress ()

Current progress made towards the ProgressGoal of this achievement

public int
getProgressGoal ()

The progress value to reach to complete the achievement

public double
getProgressRatio ()

A value in the range [0:1] indicating the progress made towards completion.

public String
getTitle ()

The title of the achievement

public boolean
isCompleted ()

True when Progress==ProgressGoal

Achievement.getDescription

public String
getDescription ()

The description

Achievement.getId

public String
getId ()

The id of the achievement

Achievement.getImageUrl

public String
getImageUrl ()

An url to the image of the achievement

Achievement.getLastUpdated

public Date
getLastUpdated ()

Last updated time, in UTC

Achievement.getProgress

public int
getProgress ()

Current progress made towards the ProgressGoal of this achievement

Achievement.getProgressGoal

public int
getProgressGoal ()

The progress value to reach to complete the achievement

Achievement.getProgressRatio

public double
getProgressRatio ()

A value in the range [0:1] indicating the progress made towards completion.

Achievement.getTitle

public String
getTitle ()

The title of the achievement

Achievement.isCompleted

public boolean
isCompleted ()

True when Progress==ProgressGoal