Show / Hide Table of Contents

Interface IDownloadLicensePublishable

ダウンロードライセンスを発行できる場合に実装するインターフェース

Inherited Members
IModelDownloadable.GetDownloadLicenses(String, Action<DownloadLicense>, Action<ApiErrorFormat>)
IModelDownloadable.GetDownloadLicensesDownload(String, Action<Byte[]>, Action<Single>, Action<ApiErrorFormat>)
IModelDownloadable.GetDownloadLicensesDownload(String, Int32, Action<Byte[]>, Action<Single>, Action<ApiErrorFormat>)
IModelDownloadable.GetDownloadLicensesAsync(String)
IModelDownloadable.GetDownloadLicensesDownloadAsync(String, Action<Single>)
IModelDownloadable.GetDownloadLicensesDownloadAsync(String, Int32, Action<Single>)
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エラー

In This Article
Back to top Generated by DocFX