Type Alias: AlbumItem
ts
type AlbumItem =
| {
photo: Uint8Array;
}
| {
cover: Uint8Array;
durationMs?: number;
height?: number;
video: Uint8Array;
width?: number;
};One picture of an album: a photo, or a video with its cover.
Union Members
Type Literal
ts
{
photo: Uint8Array;
}Type Literal
ts
{
cover: Uint8Array;
durationMs?: number;
height?: number;
video: Uint8Array;
width?: number;
}cover
ts
readonly cover: Uint8Array;durationMs?
ts
readonly durationMs?: number;Overrides what is read from the MP4.
height?
ts
readonly height?: number;video
ts
readonly video: Uint8Array;width?
ts
readonly width?: number;