import {IMessageEvent} from "../../../../../api";
import {MessageEvent} from "../../../../../events";
import {InitCameraMessageParser} from "../../parser";

export class InitCameraMessageEvent extends MessageEvent implements IMessageEvent {
  constructor(callBack: Function) {
    super(callBack, InitCameraMessageParser);
  }

  public getParser(): InitCameraMessageParser {
    return this.parser as InitCameraMessageParser;
  }
}
