Interface IAimpConfig
Interface IAimpConfig
Namespace: AIMP.SDK
Assembly: AIMP.SDK.dll
Syntax
public interface IAimpConfig
Methods
Delete(String)
Deletes the value or section from config (section or section\value name).
Declaration
AimpActionResult Delete(string keyPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
GetValueAsFloat(String)
Gets the value as float.
Declaration
AimpActionResult<float> GetValueAsFloat(string keyPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
GetValueAsInt32(String)
Gets the value as int32.
Declaration
AimpActionResult<int> GetValueAsInt32(string keyPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
GetValueAsInt64(String)
Gets the value as int64.
Declaration
AimpActionResult<long> GetValueAsInt64(string keyPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
GetValueAsStream(String)
Gets the value as binary stream.
Declaration
AimpActionResult<IAimpStream> GetValueAsStream(string keyPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
GetValueAsString(String)
Gets the value as string.
Declaration
AimpActionResult<string> GetValueAsString(string keyPath)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
SetValueAsFloat(String, Single)
Sets the value as float.
Declaration
AimpActionResult SetValueAsFloat(string keyPath, float value)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
System.Single | value | The value. |
SetValueAsInt32(String, Int32)
Sets the value as int32.
Declaration
AimpActionResult SetValueAsInt32(string keyPath, int value)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
System.Int32 | value | The value. |
SetValueAsInt64(String, Int64)
Sets the value as int64.
Declaration
AimpActionResult SetValueAsInt64(string keyPath, long value)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
System.Int64 | value | The value. |
SetValueAsStream(String, IAimpStream)
Sets the value as stream.
Declaration
AimpActionResult SetValueAsStream(string keyPath, IAimpStream stream)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
IAimpStream | stream | The stream. |
SetValueAsString(String, String)
Sets the value as string.
Declaration
AimpActionResult SetValueAsString(string keyPath, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | keyPath | The key path (section\value name). |
System.String | value | The value. |