Skip to main content

ARDK for Android/com.nianticlabs.ardk/ARDKSession/getRequestedDataFormats

getRequestedDataFormats

[androidJvm]
fun getRequestedDataFormats(): Int

Gets the data formats that ARDK requires for processing.

This function returns a bitmask indicating which types of input data (camera frames, depth, IMU, etc.) ARDK needs for optimal performance. Use this to configure your data capture pipeline accordingly.

Return​

Bitmask of required data formats as defined in InputDataFlags

See also​

ARDKSession.sendFrame
create