C# Class ScriptCs.AzureMediaServices.AzureMediaServicesUploader

Exibir arquivo Open project: ejadib/scriptcs-azuremediaservices

Public Methods

Method Description
AzureMediaServicesUploader ( string assetName, string filePath, Func createContext ) : System
On ( Action progress = null, Action completed = null, Action error = null ) : void
Start ( ) : Task

Private Methods

Method Description
CreateEmptyAsset ( MediaContextBase context, string assetName, AssetCreationOptions assetCreationOptions ) : Task
CreateSasLocatorAsync ( CloudMediaContext context, IAsset asset ) : Task
DeleteAccessPolicyAndLocator ( ) : void
OnBlobTransferClientOnTransferCompleted ( object sender, Microsoft.WindowsAzure.MediaServices.Client.BlobTransferCompleteEventArgs args ) : void
OnBlobTransferProgressChanged ( object sender, BlobTransferProgressChangedEventArgs e ) : void

Method Details

AzureMediaServicesUploader() public method

public AzureMediaServicesUploader ( string assetName, string filePath, Func createContext ) : System
assetName string
filePath string
createContext Func
return System

On() public method

public On ( Action progress = null, Action completed = null, Action error = null ) : void
progress Action
completed Action
error Action
return void

Start() public method

public Start ( ) : Task
return Task