| class info |
| public class DriveScopes extends Object |
| Class of scopes available for HUAWEI Drive Kit. |
| Type | Name | Desc |
| String | SCOPE_DRIVE | All permissions, except those for the app folder. |
| String | SCOPE_DRIVE_FILE | Permissions for viewing and managing files. |
| String | SCOPE_DRIVE_READONLY | Permissions only for viewing file content and metadata. |
| String | SCOPE_DRIVE_METADATA | Permissions for viewing and managing file metadata, excluding file entities. |
| String | SCOPE_DRIVE_METADATA_READONLY | Permissions only for viewing file metadata, excluding file entities. |
| String | SCOPE_DRIVE_APPDATA | Permissions for uploading and storing app data. |
| Return type | Method name |
| static Set<String> | all() Returns the collection of all scopes defined in HUAWEI Drive Kit. The collection cannot be modified. |
| Constant |
| public static final String SCOPE_DRIVE |
All permissions, except those for the app folder. Constant value: https://www.huawei.com/auth/drive |
| Constant |
public static final String SCOPE_DRIVE_FILE |
Permissions for viewing and managing files. Constant value: https://www.huawei.com/auth/drive.file |
| Constant |
public static final String SCOPE_DRIVE_READONLY |
Permissions only for viewing file content and metadata. Constant value: https://www.huawei.com/auth/drive.readonly |
| Constant |
public static final String SCOPE_DRIVE_METADATA |
Permissions for viewing and managing file metadata, excluding file entities. Constant value: https://www.huawei.com/auth/drive.metadata |
| Constant |
public static final String SCOPE_DRIVE_METADATA_READONLY |
Permissions only for viewing file metadata, excluding file entities. Constant value: https://www.huawei.com/auth/drive.metadata.readonly |
| Constant |
public static final String SCOPE_DRIVE_APPDATA |
Permissions for uploading and storing app data. Constant value: https://www.huawei.com/auth/drive.appdata |
| Method |
| public static Set<String> all() |
| Returns the collection of all scopes defined in HUAWEI Drive Kit. The collection cannot be modified. |
Return
| type | desc |
| Set<String> | Collection of all scopes defined in HUAWEI Drive Kit. |