CreateFileActivityOptions | Doclava
public final class

CreateFileActivityOptions

extends Object
java.lang.Object
   ↳ com.google.android.gms.drive.CreateFileActivityOptions

Class Overview

Options used to configure settings for the create file dialog activity. These options control the settings for the newly created file (i.e initial metadata / contents) and the dialog itself (e.g. starting folder, etc).

To create the create file dialog activity with a specified configuration, pass the options to newCreateFileActivityIntentSender(CreateFileActivityOptions). The returned IntentSender can be used to create an activity that displays the user's Drive files / folders. The user can then select the folder he/she wishes to create the new file in.

In order to successfully create the new file, the following setters must be called:

Summary

Nested Classes
class CreateFileActivityOptions.Builder Builder used to create a new instance of CreateFileActivityOptions
Constants
String EXTRA_RESPONSE_DRIVE_ID The ID to get access to the DriveId associated with the newly created file.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String EXTRA_RESPONSE_DRIVE_ID

The ID to get access to the DriveId associated with the newly created file.

Constant Value: "response_drive_id"