Interface IDownloadLicensePublishable
Implemented interface when download license can be issued
Inherited Members
Namespace: Pixiv.VroidSdk.Api
Assembly: Pixiv.VroidSdk.dll
Syntax
public interface IDownloadLicensePublishable : IModelDownloadable
Methods
PostDownloadLicenses(String, Action<DownloadLicense>, Action<ApiErrorFormat>)
Issue download license
Declaration
void PostDownloadLicenses(string characterModelId, Action<DownloadLicense> onSuccess, Action<ApiErrorFormat> onError)
Parameters
Type | Name | Description |
---|---|---|
String | characterModelId | Character model ID |
Action<DownloadLicense> | onSuccess | Callback on success |
Action<ApiErrorFormat> | onError | Callback on failure |
PostDownloadLicensesAsync(String)
Issue download license
Declaration
Task<DownloadLicense> PostDownloadLicensesAsync(string characterModelId)
Parameters
Type | Name | Description |
---|---|---|
String | characterModelId | Character model ID |
Returns
Type | Description |
---|---|
Task<DownloadLicense> | Downlaod license |
Exceptions
Type | Condition |
---|---|
ApiErrorFormat | API error |