com.backendless.persistence.local.CodeRunnerUserTokenStorage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of android Show documentation
Show all versions of android Show documentation
Android SDK used by developers to provide Backendless API in apps.
package com.backendless.persistence.local;
/**
* Created with IntelliJ IDEA.
* User: Eugene Chipachenko
* Date: 11/4/14
* Time: 13:56
*/
class CodeRunnerUserTokenStorage implements IStorage
{
private static final CodeRunnerUserTokenStorage instance = new CodeRunnerUserTokenStorage();
private String userToken;
public static CodeRunnerUserTokenStorage instance()
{
return instance;
}
private CodeRunnerUserTokenStorage()
{
}
@Override
public String get()
{
return userToken;
}
@Override
public void set( String value )
{
userToken = value;
}
}