Class DefaultConfig
VRoid SDK settings able to be used in various environments, based on authentication copy from browser
Implements
Inherited Members
Namespace: Pixiv.VroidSdk.Unity.Environments
Assembly: Pixiv.VroidSdk.Unity.dll
Syntax
public sealed class DefaultConfig : ISdkConfig
Remarks
When using VRoid Hub link that uses URL scheme or Loopback Interface Redirect, use AndroidConfig, IosConfig, orDesktopConfig
Constructors
DefaultConfig(Credential)
Constructor
Declaration
public DefaultConfig(Credential credential)
Parameters
Type | Name | Description |
---|---|---|
Credential | credential | What deserialized credential.json.bytes |
DefaultConfig(String)
Constructor
Declaration
public DefaultConfig(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 |