using Unity.Collections;
namespace UnityEngine.XR.ARSubsystems
{
///
/// The base class for configuration choosers, which determines
/// which configuration a session will use. Used by
/// .
/// Use to get or set
/// the session's configuration choosers.
///
public abstract class ConfigurationChooser
{
///
/// Chooses a configuration given a set of s and requested s.
///
/// The set of available configurations supported by the session.
/// The set of requested s.
/// A the session should use.
/// See for restrictions
/// on the selected configuration.
public abstract Configuration ChooseConfiguration(
NativeSlice descriptors,
Feature requestedFeatures);
}
}