@project-sunbird/sunbird-epub-player-v9
Version:
The Epub player library is powered by Angular. This player is primarily designed to be used on Sunbird consumption platforms _(mobile app, web portal, offline desktop app)_ to drive reusability and maintainability, hence reducing the redundant development
27 lines (26 loc) • 1.02 kB
TypeScript
import { UtilService } from './services/utilService/util.service';
import { PlayerConfig } from './sunbird-epub-player.interface';
import * as i0 from "@angular/core";
export declare class EpubPlayerService {
private utilService;
private contentSessionId;
private playSessionId;
private telemetryObject;
private context;
config: any;
channel: string;
pdata: string;
sid: string;
uid: string;
rollup: string;
constructor(utilService: UtilService);
initialize({ context, config, metadata }: PlayerConfig): void;
start(duration: any): void;
interact(id: any, currentPage: any): void;
impression(currentPage: any): void;
end(duration: any, percentage: any, curentPage: any, endpageseen: any): void;
error(errorCode: string, errorType: string, pageid: any, stacktrace: any): void;
private getEventOptions;
static ɵfac: i0.ɵɵFactoryDeclaration<EpubPlayerService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<EpubPlayerService>;
}