vision-embedded-web
Version:
Cubic Vision methods for embedded web content.
11 lines (10 loc) • 548 B
TypeScript
import { CubicPlayerEvent, ICubicPlayer } from './types/cubic-player';
import { CubicPlayerActionType, CubicPlayerActionData, CubicPlayerActionResult } from './types/actions';
export default class VisionController {
private readonly moduleName;
constructor(moduleName: string);
invoke<TypeT extends CubicPlayerActionType>(data: CubicPlayerActionData<TypeT>): Promise<CubicPlayerActionResult<TypeT>>;
emit(event: CubicPlayerEvent): void;
getPlayer(): ICubicPlayer | null;
printNotFound(entityName: string): void;
}