File

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

Extends

OnInit

Index

Properties
Methods

Methods

deleteContents
deleteContents(emitedContents: EmitedContents)
Parameters :
Name Type Optional
emitedContents EmitedContents No
Returns : void
ionViewWillEnter
ionViewWillEnter()
Returns : any
ionViewWillLeave
ionViewWillLeave()
Returns : any
onSortCriteriaChange
onSortCriteriaChange(sortAttribute: SortAttribute)
Parameters :
Name Type Optional
sortAttribute SortAttribute No
Returns : void

Properties

downloadedContents
downloadedContents: Content[]
Type : Content[]
loader
loader: any
Type : any
Optional
storageInfo
storageInfo: AppStorageInfo
Type : AppStorageInfo
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 ""