Get the current set of input data types that are required by NSDK's native
components.
Use this method to determine what data should be included in frames sent to sendFrame(_:).
The required data formats may change based on currently active features and their states.
- Returns: Flags indicating which data types are currently required
## Example
swift <br />let requiredInputs = session.requestedDataInputs() <br />if requiredInputs.contains(.camera) { <br /> // Include camera data in frame <br />} <br />if requiredInputs.contains(.depth) { <br /> // Include depth data in frame <br />} <br />
Get the current set of input data types that are required by NSDK's native
components.
Use this method to determine what data should be included in frames sent to
sendFrame(_:).The required data formats may change based on currently active features and their states.
- Returns: Flags indicating which data types are currently required
## Example
swift <br />let requiredInputs = session.requestedDataInputs() <br />if requiredInputs.contains(.camera) { <br /> // Include camera data in frame <br />} <br />if requiredInputs.contains(.depth) { <br /> // Include depth data in frame <br />} <br />