CaptionsResource class

Constructors

CaptionsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String id, {String? onBehalfOf, String? onBehalfOfContentOwner, String? $fields}) Future<void>
Deletes a resource.
download(String id, {String? onBehalfOf, String? onBehalfOfContentOwner, String? tfmt, String? tlang, String? $fields, DownloadOptions downloadOptions = commons.DownloadOptions.metadata}) Future<Media?>
Downloads a caption track.
insert(Caption request, List<String> part, {String? onBehalfOf, String? onBehalfOfContentOwner, bool? sync, String? $fields, UploadOptions uploadOptions = commons.UploadOptions.defaultOptions, Media? uploadMedia}) Future<Caption>
Inserts a new resource into this collection.
list(List<String> part, String videoId, {List<String>? id, String? onBehalfOf, String? onBehalfOfContentOwner, String? $fields}) Future<CaptionListResponse>
Retrieves a list of resources, possibly filtered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(Caption request, List<String> part, {String? onBehalfOf, String? onBehalfOfContentOwner, bool? sync, String? $fields, UploadOptions uploadOptions = commons.UploadOptions.defaultOptions, Media? uploadMedia}) Future<Caption>
Updates an existing resource.

Operators

operator ==(Object other) bool
The equality operator.
inherited