Package 

Class AutocaptureOptionsKt

    • Method Summary

      Modifier and Type Method Description
      final static Set<AutocaptureOption> autocaptureOptions(Function1<AutocaptureOptionsBuilder, Unit> init) Helper function to create a set of autocapture options.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • autocaptureOptions

         final static Set<AutocaptureOption> autocaptureOptions(Function1<AutocaptureOptionsBuilder, Unit> init)

        Helper function to create a set of autocapture options.

        Example usage:

        // Enable all autocapture options
        val allOptions = AutocaptureOption.ALL
        
        // Or use the builder for selective options
        val options = autocaptureOptions {
           +sessions
           +appLifecycles
           +deepLinks
           +screenViews
           +elementInteractions
           +frustrationInteractions
        }
        
        // Or enable all via builder
        val allViaBuilder = autocaptureOptions {
           addAll()
        }
        Parameters:
        init - Function to build the set of autocapture options.