Class DesktopConfig
VRoid SDK settings on PC
Implements
Inherited Members
Namespace: Pixiv.VroidSdk.Unity.Environments
Assembly: Pixiv.VroidSdk.Unity.dll
Syntax
public sealed class DesktopConfig : ISdkConfig
Remarks
Using these settings enables Loopback Interface Redirect to be used
Constructors
DesktopConfig(Credential)
Constructor
Declaration
public DesktopConfig(Credential credential)
Parameters
Type | Name | Description |
---|---|---|
Credential | credential | What deserialized credential.json.bytes |
DesktopConfig(String)
Constructor
Declaration
public DesktopConfig(string json)
Parameters
Type | Name | Description |
---|---|---|
String | json | credential.json.bytes body described by settings |
Properties
AccountFilePath
File path to store account information
Declaration
public string AccountFilePath { get; }
Property Value
Type | Description |
---|---|
String |
BaseDirectoryName
Directory name
Declaration
public string BaseDirectoryName { get; }
Property Value
Type | Description |
---|---|
String |
Credential
Application settings for linking VRoid Hub
Declaration
public Credential Credential { get; }
Property Value
Type | Description |
---|---|
Credential |
HttpHostUrl
HTTP request host URL
Declaration
public string HttpHostUrl { get; }
Property Value
Type | Description |
---|---|
String |
IsManualLogin
Becomes true
if log in by copying authorization code, without using URL scheme
Declaration
public bool IsManualLogin { get; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
true
when RedirectUri is urn:ietf:wg:oauth:2.0:oob
RedirectUri
URL to receive Oauth authorization code
Declaration
public string RedirectUri { get; }
Property Value
Type | Description |
---|---|
String |
SymbolPrefix
Development environment name
Declaration
public string SymbolPrefix { get; }
Property Value
Type | Description |
---|---|
String | Returns |