Show / Hide Table of Contents

Class GenericDataResponseConverter<T>

WebResponseをDataModelに加工するメソッドを提供するクラス

Inheritance
Object
ResponseConverterBase<T>
GenericDataResponseConverter<T>
Inherited Members
ResponseConverterBase<T>.ConvertError(IWebResponse)
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: VRoidSDK
Assembly: VRoidSDK.dll
Syntax
public class GenericDataResponseConverter<T> : ResponseConverterBase<T>
Type Parameters
Name Description
T

Methods

Convert(IWebResponse, Action<ApiResponseTemplate<T>>, Action<ApiErrorFormat>)

WebResponseを指定したDataModelに変換する

Declaration
public override void Convert(IWebResponse response, Action<ApiResponseTemplate<T>> onSuccess, Action<ApiErrorFormat> onError)
Parameters
Type Name Description
IWebResponse response

変換するWebResponse

Action<ApiResponseTemplate<T>> onSuccess

変換に成功した時のコールバック

Action<ApiErrorFormat> onError

エラー発生時のコールバック

Overrides
VRoidSDK.ResponseConverterBase<T>.Convert(VRoidSDK.Networking.IWebResponse, System.Action<VRoidSDK.ApiResponseTemplate<T>>, System.Action<VRoidSDK.ApiErrorFormat>)
Back to top Generated by DocFX