Method ChooseConfiguration
ChooseConfiguration(NativeSlice<ConfigurationDescriptor>, Feature)
Chooses a configuration given a set of ConfigurationDescriptors and requested Features.
Declaration
public abstract Configuration ChooseConfiguration(NativeSlice<ConfigurationDescriptor> descriptors, Feature requestedFeatures)
Parameters
Type | Name | Description |
---|---|---|
NativeSlice<ConfigurationDescriptor> | descriptors | The set of available configurations supported by the session. |
Feature | requestedFeatures | The set of requested Features. |
Returns
Type | Description |
---|---|
Configuration | A Configuration the session should use. See Configuration(ConfigurationDescriptor, Feature) for restrictions on the selected configuration. |