program-manager.d.ts 602 Bytes
/// <reference types="es6-promise" />
import { ProgramRepository } from './program-repository';
export declare class ProgramManager {
    protected _programRepository: ProgramRepository;
    programRepository: ProgramRepository;
    getCurrentProgramItemId(): Promise<string>;
    /**
     * find program item in schedule, which fits
     * according to current hh:mm
     */
    findCurrentProgramItem(schedule: any, dateInMinutes: number): string;
    /**
     * Find the program segment
     * This is dependent on the date set on the device
     */
    findCurrentProgramSegment(): Promise<any>;
}