Class EnvironmentMetadata
Metadata about the environment where the SDK is running.
Inherited Members
Namespace: LaunchDarkly.Sdk.Integrations.Plugins
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
public sealed class EnvironmentMetadata
Constructors
EnvironmentMetadata(SdkMetadata, string, CredentialType, ApplicationMetadata)
Initializes a new instance of the EnvironmentMetadata class.
Declaration
public EnvironmentMetadata(SdkMetadata sdkMetadata, string credential, CredentialType credentialType, ApplicationMetadata applicationMetadata)
Parameters
| Type | Name | Description |
|---|---|---|
| SdkMetadata | sdkMetadata | the SDK metadata |
| string | credential | the SDK Key or Mobile Key |
| CredentialType | credentialType | the type of credential |
| ApplicationMetadata | applicationMetadata | the application metadata |
Properties
Application
Gets the application metadata.
Declaration
public ApplicationMetadata Application { get; }
Property Value
| Type | Description |
|---|---|
| ApplicationMetadata |
Credential
Gets the SDK key.
Declaration
public string Credential { get; }
Property Value
| Type | Description |
|---|---|
| string |
CredentialType
Gets the type of credential used (e.g., Mobile Key or SDK Key).
Declaration
public CredentialType CredentialType { get; }
Property Value
| Type | Description |
|---|---|
| CredentialType |
Sdk
Gets the SDK metadata.
Declaration
public SdkMetadata Sdk { get; }
Property Value
| Type | Description |
|---|---|
| SdkMetadata |