Method | Description | |
---|---|---|
AssetService ( IMediaService mediaService ) : System | ||
AssignThumbnail ( string assetId ) : void | ||
CopyFromBlob ( string destinationSasUri, string srcBlobSasUri ) : void | ||
CreateAsset ( string pathToFile ) : void |
Creates the asset. Note, there is a breaking change in the new SDK! You have to first create the Asset, which is always empty. Then create a file within that asset, then upload a content the newly created file
|
|
CreateEmptyAsset ( string name ) : void | ||
DeleteAsset ( string assetId ) : void | ||
GetAssetById ( string assetId ) : Models.Asset | ||
Publish ( string assetId ) : void | ||
Rename ( string assetId, string newName ) : void |
Method | Description | |
---|---|---|
ThumbnailUrl ( IAsset asset ) : string |
public AssetService ( IMediaService mediaService ) : System | ||
mediaService | IMediaService | |
return | System |
public AssignThumbnail ( string assetId ) : void | ||
assetId | string | |
return | void |
public CopyFromBlob ( string destinationSasUri, string srcBlobSasUri ) : void | ||
destinationSasUri | string | |
srcBlobSasUri | string | |
return | void |
public CreateAsset ( string pathToFile ) : void | ||
pathToFile | string | The path to file. |
return | void |
public CreateEmptyAsset ( string name ) : void | ||
name | string | |
return | void |
public GetAssetById ( string assetId ) : Models.Asset | ||
assetId | string | |
return | Models.Asset |
public Rename ( string assetId, string newName ) : void | ||
assetId | string | |
newName | string | |
return | void |