Interface IDownloadLicensePublishable
ダウンロードライセンスを発行できる場合に実装するインターフェース
Inherited Members
Namespace: Pixiv.VroidSdk.Api
Assembly: Pixiv.VroidSdk.dll
Syntax
public interface IDownloadLicensePublishable : IModelDownloadable
Methods
PostDownloadLicenses(String, Action<DownloadLicense>, Action<ApiErrorFormat>)
ダウンロードライセンスを発行する
Declaration
void PostDownloadLicenses(string characterModelId, Action<DownloadLicense> onSuccess, Action<ApiErrorFormat> onError)
Parameters
| Type | Name | Description |
|---|---|---|
| String | characterModelId | キャラクターモデルID |
| Action<DownloadLicense> | onSuccess | 成功した時のコールバック |
| Action<ApiErrorFormat> | onError | 失敗した時のコールバック |
PostDownloadLicensesAsync(String)
ダウンロードライセンスを発行する
Declaration
Task<DownloadLicense> PostDownloadLicensesAsync(string characterModelId)
Parameters
| Type | Name | Description |
|---|---|---|
| String | characterModelId | キャラクターモデルID |
Returns
| Type | Description |
|---|---|
| Task<DownloadLicense> | ダウンロードライセンス |
Exceptions
| Type | Condition |
|---|---|
| ApiErrorFormat | APIエラー |