File

src/app/download-manager/download-manager.interface.ts

Index

Properties

Properties

selectedContents
selectedContents: ContentDelete[]
Type : ContentDelete[]
selectedContentsInfo
selectedContentsInfo: any
Type : any
import { OnInit } from '@angular/core';
import { Content, ContentDelete } from 'sunbird-sdk';

export interface AppStorageInfo {
    usedSpace: number;
    availableSpace: number;
}

export interface EmitedContents {
    selectedContentsInfo: any;
    selectedContents: ContentDelete[];
}

type SortAttribute = [keyof Content];

export interface DownloadManagerPageInterface extends OnInit {

    storageInfo: AppStorageInfo;
    downloadedContents: Content[];
    // loader?: Loading
    loader?: any

    ionViewWillEnter();
    ionViewWillLeave();

    deleteContents(emitedContents: EmitedContents): void;
    onSortCriteriaChange(sortAttribute: SortAttribute): void;
}

results matching ""

    No results matching ""