UNPKG

expo-video

Version:

A cross-platform, performant video component for React Native and Expo with Web support

32 lines (28 loc) 776 B
import { SharedRef } from 'expo'; import NativeVideoModule from './NativeVideoModule'; /** * Represents a video thumbnail that references a native image. * Instances of this class can be passed as a source to the `Image` component from `expo-image`. * @platform android * @platform ios */ export declare class VideoThumbnail extends SharedRef<'image'> { /** * Width of the created thumbnail. */ width: number; /** * Height of the created thumbnail. */ height: number; /** * The time in seconds at which the thumbnail was to be created. */ requestedTime: number; /** * The time in seconds at which the thumbnail was actually generated. * @platform ios */ actualTime: number; } export default NativeVideoModule.VideoThumbnail;