Class: Context

sync.api.UrlChooser.Context

new Context(type, opt_filenameopt)

The context of an URL choice.
Parameters:
Name Type Attributes Description
type sync.api.UrlChooser.Type The type of the URL.
opt_filename string <optional>
The proposed name of the file to be saved, when the purpose is sync.api.UrlChooser.Purpose#CHOOSE_SAVE_LOCATION
Source:

Methods

getSuggestedFileName() → (nullable) {string}

Returns the type of the context.
Source:
Returns:
The proposed name of the file to be saved, when the purpose is sync.api.UrlChooser.Purpose#CHOOSE_SAVE_LOCATION.
Type
string

getType() → {string}

Returns the type of the context.
Source:
Returns:
The type of the context of the URL chooser.
Type
string