# Class Picker

`Picker` is the top level object representing the UI action with the user.
These objects are not created directly, but instead use the `PickerBuilder`
class.

## Signature

    export class Picker

## Details

| Final | No |
|---|---|

## Methods

| Name | Description |
|---|---|
| [`dispose()`](https://developers.google.com/workspace/drive/picker/reference/picker.picker.dispose) | Disposes the `Picker` object. |
| [`isVisible()`](https://developers.google.com/workspace/drive/picker/reference/picker.picker.isvisible) | Get a boolean indicating the current `Picker` visibility. |
| [`setCallback(method)`](https://developers.google.com/workspace/drive/picker/reference/picker.picker.setcallback) | Specify the callback method called whenever the user has selected an item (or canceled.) |
| [`setRelayUrl(url)`](https://developers.google.com/workspace/drive/picker/reference/picker.picker.setrelayurl) | Specify a relay URL to circumvent cross-domain issues. |
| [`setVisible(visible)`](https://developers.google.com/workspace/drive/picker/reference/picker.picker.setvisible) | Control the visibility of the `Picker` object. |