OpenFileActivityOptions

public final class OpenFileActivityOptions extends Object

Options used to configure settings for the open file dialog activity. Using these options, search results of a user's Drive can be filtered for a faster experience and more narrow results.

To create the open file dialog activity with a specified configuration, pass the options to newOpenFileActivityIntentSender(OpenFileActivityOptions). The returned IntentSender can be used to create an activity that will display all files and folder from the user's Drive, including those that the calling application does not have explicit authorization to access.

Once the user selects a file to open, the calling application is given access to that file.

Nested Class Summary

class OpenFileActivityOptions.Builder Builder used to create a new instance of OpenFileActivityOptions

Constant Summary

String EXTRA_RESPONSE_DRIVE_ID The ID to get access to the selected DriveId.

Inherited Method Summary

Constants

public static final String EXTRA_RESPONSE_DRIVE_ID

The ID to get access to the selected DriveId.

Constant Value: "response_drive_id"