import { ActionBehavior, ActionBehaviorConstructorProps } from '../../actionbehavior'; import { Component } from '../../component'; import { ContextManager } from '../../context'; /** * Behavior to play a specified stream. * @zbehavior * @zicon play_circle * @zgroup Stream Actions */ export declare class PlayStream extends ActionBehavior { private zcomponent; /** * The ID of the stream to be played. * @zprop * @zgroup Play Settings * @zgrouppriority 20 * @zvalues streamids */ stream: string | undefined; /** * Whether the stream should loop. * @zprop * @zgroup Play Settings * @zgrouppriority 20 * @zdefault false */ loop?: boolean; /** * The playback speed of the stream. * @zprop * @zgroup Play Settings * @zgrouppriority 20 * @zdefault 1 */ speed?: number; /** * Whether to seek the stream to the start before playing. * * @zprop * @zgroup Play Settings * @zgrouppriority 20 * @zdefault false */ fromStart: boolean; /** * Creates an instance of PlayStream. * @param contextManager - The current ContextManager * @param instance - The instance of the component that this behavior is attached to * @param props - The constructor properties. */ constructor(contextManager: ContextManager, instance: Component, props: ActionBehaviorConstructorProps); /** @zprop */ perform(): void; /** @zui */ preview(): void; }