Class GetMetadataArgs
Arguments for the asynchronous GetMetadataAsyncAsync(GetMetadataArgs) GetMetadataAsyncAsync(GetMetadataArgs) route. Exactly one of FileIdOrUrl.FileId, FileIdOrUrl.Path, or FileIdOrUrl.Url must be supplied via FileIdOrUrl to identify the file whose metadata should be extracted.
Inherited Members
Namespace: Dropbox.Api.Riviera
Assembly: Dropbox.Api.dll
Syntax
public class GetMetadataArgs
Constructors
View SourceGetMetadataArgs(FileIdOrUrl)
Initializes a new instance of the GetMetadataArgs class.
Declaration
public GetMetadataArgs(FileIdOrUrl fileIdOrUrl = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FileIdOrUrl | fileIdOrUrl | Identifier of the file to extract metadata from. Callers must set exactly one of the FileIdOrUrl variants. The kind of metadata returned is determined by the file type: image files return EXIF metadata, audio/video files return media metadata, PDFs return PDF metadata, and MS Office documents (docx, pptx, xlsx) return Office metadata. See the route description for the supported formats. Requests against unsupported formats fail with MetadataExtractionApiV2Error.UserError. |
Properties
View SourceFileIdOrUrl
Identifier of the file to extract metadata from. Callers must set exactly one of the FileIdOrUrl variants. The kind of metadata returned is determined by the file type: image files return EXIF metadata, audio/video files return media metadata, PDFs return PDF metadata, and MS Office documents (docx, pptx, xlsx) return Office metadata. See the route description for the supported formats. Requests against unsupported formats fail with MetadataExtractionApiV2Error.UserError.
Declaration
public FileIdOrUrl FileIdOrUrl { get; protected set; }
Property Value
| Type | Description |
|---|---|
| FileIdOrUrl |