App class
The apps resource provides a list of the apps that a user has installed, with information about each app's supported MIME types, file extensions, and other details.
Some resource methods (such as apps.get) require an appId. Use the
apps.list method to retrieve the ID for an installed application.
Constructors
-
App({bool? authorized, String? createInFolderTemplate, String? createUrl, bool? hasDriveWideScope, List<
AppIcons> ? icons, String? id, bool? installed, String? kind, String? longDescription, String? name, String? objectType, String? openUrlTemplate, List<String> ? primaryFileExtensions, List<String> ? primaryMimeTypes, String? productId, String? productUrl, List<String> ? secondaryFileExtensions, List<String> ? secondaryMimeTypes, String? shortDescription, bool? supportsCreate, bool? supportsImport, bool? supportsMultiOpen, bool? supportsOfflineCreate, bool? useByDefault}) - App.fromJson(Map json_)
Properties
-
Whether the app is authorized to access data on the user's Drive.
getter/setter pair
- createInFolderTemplate ↔ String?
-
The template url to create a new file with this app in a given folder.
getter/setter pair
- createUrl ↔ String?
-
The url to create a new file with this app.
getter/setter pair
- hasDriveWideScope ↔ bool?
-
Whether the app has drive-wide scope.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
icons
↔ List<
AppIcons> ? -
The various icons for the app.
getter/setter pair
- id ↔ String?
-
The ID of the app.
getter/setter pair
- installed ↔ bool?
-
Whether the app is installed.
getter/setter pair
- kind ↔ String?
-
This is always
drive#app.getter/setter pair - longDescription ↔ String?
-
A long description of the app.
getter/setter pair
- name ↔ String?
-
The name of the app.
getter/setter pair
- objectType ↔ String?
-
The type of object this app creates (e.g. Chart).
getter/setter pair
- openUrlTemplate ↔ String?
-
The template url for opening files with this app.
getter/setter pair
-
primaryFileExtensions
↔ List<
String> ? -
The list of primary file extensions.
getter/setter pair
-
primaryMimeTypes
↔ List<
String> ? -
The list of primary mime types.
getter/setter pair
- productId ↔ String?
-
The ID of the product listing for this app.
getter/setter pair
- productUrl ↔ String?
-
A link to the product listing for this app.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secondaryFileExtensions
↔ List<
String> ? -
The list of secondary file extensions.
getter/setter pair
-
secondaryMimeTypes
↔ List<
String> ? -
The list of secondary mime types.
getter/setter pair
- shortDescription ↔ String?
-
A short description of the app.
getter/setter pair
- supportsCreate ↔ bool?
-
Whether this app supports creating new objects.
getter/setter pair
- supportsImport ↔ bool?
-
Whether this app supports importing from Docs Editors.
getter/setter pair
- supportsMultiOpen ↔ bool?
-
Whether this app supports opening more than one file.
getter/setter pair
- supportsOfflineCreate ↔ bool?
-
Whether this app supports creating new files when offline.
getter/setter pair
- useByDefault ↔ bool?
-
Whether the app is selected as the default handler for the types it
supports.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited