Picker class

Last modified: August 25, 2014

Applies to: Office 365 | OneDrive

In this article
Methods
Defined in
Package

Provides hooks into the OneDrive application for users to find files on OneDrive and hand back references to the current application.

public final class Picker implements IPicker

Name

Description

Picker.createPicker method

Creates an instance of the OneDrive picker.

Picker.getPickerResult method

Helper for android.app.Activity.onActivityResult. Validates the request and result codes and returns a type-safe IPickerResult interface.

Picker.getRequestCode method

Gets the request code to be used by the android.app.Activity.startActivityForResult(Intent) method during the Picker.startPicking method call.

Picker.startPicking method

Allows the request code used by this instance to be configured by the source application.

IPicker.startPicking method

Starts a new activity that allows users to pick a file from OneDrive for viewing or downloading and then to be returned to the starting application.

Picker.java

Show: