C# Class VLC_WINRT.Utility.Services.RunTime.HistoryService

Mostrar archivo Open project: kusl/vlcwinrt Class Usage Examples

Public Methods

Method Description
Add ( StorageFile file ) : Task
Clear ( ) : Task
Dispose ( ) : void
FileCount ( ) : int
GetHistory ( string token ) : MediaHistory
GetTokenAtPosition ( int index ) : string
HistoryService ( ) : System
IsAudioAtPosition ( int index ) : bool
RemoveToken ( string token ) : Task
RestoreHistory ( ) : Task
RetrieveFile ( string token ) : IAsyncOperation
RetrieveFileAt ( int index ) : Task
SaveHistory ( ) : Task
UpdateMediaHistory ( string fileToken, TimeSpan totalWatched ) : void

Private Methods

Method Description
CreateHistory ( IStorageItem item, string token, bool isAudio ) : MediaHistory
PublishUpdate ( ) : void

Method Details

Add() public method

public Add ( StorageFile file ) : Task
file Windows.Storage.StorageFile
return Task

Clear() public method

public Clear ( ) : Task
return Task

Dispose() public method

public Dispose ( ) : void
return void

FileCount() public method

public FileCount ( ) : int
return int

GetHistory() public method

public GetHistory ( string token ) : MediaHistory
token string
return VLC_WINRT.Model.MediaHistory

GetTokenAtPosition() public method

public GetTokenAtPosition ( int index ) : string
index int
return string

HistoryService() public method

public HistoryService ( ) : System
return System

IsAudioAtPosition() public method

public IsAudioAtPosition ( int index ) : bool
index int
return bool

RemoveToken() public method

public RemoveToken ( string token ) : Task
token string
return Task

RestoreHistory() public method

public RestoreHistory ( ) : Task
return Task

RetrieveFile() public method

public RetrieveFile ( string token ) : IAsyncOperation
token string
return IAsyncOperation

RetrieveFileAt() public method

public RetrieveFileAt ( int index ) : Task
index int
return Task

SaveHistory() public method

public SaveHistory ( ) : Task
return Task

UpdateMediaHistory() public method

public UpdateMediaHistory ( string fileToken, TimeSpan totalWatched ) : void
fileToken string
totalWatched TimeSpan
return void