program-manager.d.ts
564 Bytes
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>;
}