VideoBufferEvent
A Video's buffer event, with isBuffering saying whether the player is waiting for data.
Utilisation
Display a video with native controls.
Ce type est utilisé par Video
// Display a video with native controls.
import { Video } from 'kuito';
<Video src={{ uri: 'https://example.com/waves.mp4' }} height={320} muted loop objectFit="cover" />;Déclaration du type
export type VideoBufferEvent = NativeViewEvent<'buffer', { isBuffering: boolean }>;Membres 4
| Nom | Type | Requis | Description |
|---|---|---|---|
type | "buffer" | Oui | — |
target | unknown | Oui | — |
isTrusted | boolean | Oui | — |
isBuffering | boolean | Oui | — |
Généré depuis les déclarations TypeScript publiques : signatures, props et valeurs par défaut viennent de la source vérifiée, les descriptions de sa JSDoc. Aucune valeur par défaut n'est inventée.