com.kii.sdk.photocolle
Enum Scope

java.lang.Object
  extended by java.lang.Enum<Scope>
      extended by com.kii.sdk.photocolle.Scope
All Implemented Interfaces:
Serializable, Comparable<Scope>

public enum Scope
extends Enum<Scope>

Applications request permissions to Docomo Authentication server with this Scope.

See Also:
docomo Developer support API common reference version 2.0.0, Authority#authenticate(Context, String, String, String, EnumSet, String, AuthenticateCallback)

Enum Constant Summary
DATABOX_ALL
          A scope to access service folder of data management box.
PHONEBOOK_ADD_CONTACT
          A scope to add contact of Docomo phonebook.
PHONEBOOK_ALLOWED_FRIENDS_BIDIRECTIONAL
          A scope to get allowed friends bidirectional information of Docomo phonebook.
PHONEBOOK_POST_FEED
          A scope to post feed of Docomo phonebook.
PHOTO_GET_CONTENT
          A scope to get a PhotoColle photo or movie.
PHOTO_GET_CONTENTS_LIST
          A scope to get a list of PhotoColle photos and movies.
PHOTO_GET_GROUP_INFO
          A scope to get a list of tags and a list of PhotoColle photos and movies with tags.
PHOTO_GET_VACANT_SIZE
          A scope to confirm vacant size of PhotoColle.
PHOTO_UPDATE_ROTATE_INFO
          A scope to update rotation information of a PhotoColle photo.
PHOTO_UPDATE_TRASH_INFO
          A scope to update trash information of a PhotoColle photo and movie.
PHOTO_UPLOAD_CONTENT
          A scope to upload a PhotoColle photo or movie.
USER_ID
          A scope to get user id.
 
Method Summary
 String getLabel()
           
static Scope valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Scope[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PHOTO_GET_CONTENTS_LIST

public static final Scope PHOTO_GET_CONTENTS_LIST
A scope to get a list of PhotoColle photos and movies.

This scope enables following APIs:


PHOTO_GET_CONTENT

public static final Scope PHOTO_GET_CONTENT
A scope to get a PhotoColle photo or movie.

This scope enables following APIs:


PHOTO_UPLOAD_CONTENT

public static final Scope PHOTO_UPLOAD_CONTENT
A scope to upload a PhotoColle photo or movie.

This scope enables following API:


PHOTO_GET_VACANT_SIZE

public static final Scope PHOTO_GET_VACANT_SIZE
A scope to confirm vacant size of PhotoColle.

This scope enables following API:


PHOTO_UPDATE_ROTATE_INFO

public static final Scope PHOTO_UPDATE_ROTATE_INFO
A scope to update rotation information of a PhotoColle photo.

Current PhotoColleSDK does not adapt this feature. The method using this feature will be provided in future.


PHOTO_UPDATE_TRASH_INFO

public static final Scope PHOTO_UPDATE_TRASH_INFO
A scope to update trash information of a PhotoColle photo and movie.

Current PhotoColleSDK does not adapt this feature. The method using this feature will be provided in future.


PHOTO_GET_GROUP_INFO

public static final Scope PHOTO_GET_GROUP_INFO
A scope to get a list of tags and a list of PhotoColle photos and movies with tags.

If applications want to use this scope, you need to demand to Docomo. This scope enables following APIs:


PHONEBOOK_ALLOWED_FRIENDS_BIDIRECTIONAL

public static final Scope PHONEBOOK_ALLOWED_FRIENDS_BIDIRECTIONAL
A scope to get allowed friends bidirectional information of Docomo phonebook.

PhotoColleSDK does not have a method to use this feature.

Current Docomo phonebook server does not adapt this feature. The feature concerned this scope will be provided in future.


PHONEBOOK_POST_FEED

public static final Scope PHONEBOOK_POST_FEED
A scope to post feed of Docomo phonebook.

PhotoColleSDK does not have a method to use this feature.


PHONEBOOK_ADD_CONTACT

public static final Scope PHONEBOOK_ADD_CONTACT
A scope to add contact of Docomo phonebook.

PhotoColleSDK does not have a method to use this feature.


DATABOX_ALL

public static final Scope DATABOX_ALL
A scope to access service folder of data management box.

PhotoColleSDK does not have a method to use this feature.


USER_ID

public static final Scope USER_ID
A scope to get user id.

PhotoColleSDK does not have a method to use this feature.

Method Detail

values

public static Scope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Scope c : Scope.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Scope valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getLabel

public String getLabel()