SessionConfigurationCompat { public void setInputConfiguration(@NonNull InputConfigurationCompat input) { mImpl.setInputConfiguration(input); } SessionConfigurationCompat(@SessionMode int sessionType,
            @NonNull List<OutputConfigurationCompat> outputsCompat,
            @NonNull /* @CallbackExecutor */ Executor executor,
            @NonNull CameraCaptureSession.StateCallback cb); private  SessionConfigurationCompat(@NonNull SessionConfigurationCompatImpl impl); @Nullable static SessionConfigurationCompat wrap(@Nullable Object sessionConfiguration); @RequiresApi(24) @RestrictTo(Scope.LIBRARY) static List<OutputConfiguration> transformFromCompat(
            @NonNull List<OutputConfigurationCompat> outputConfigurations); @SessionMode int getSessionType(); List<OutputConfigurationCompat> getOutputConfigurations(); CameraCaptureSession.StateCallback getStateCallback(); Executor getExecutor(); InputConfigurationCompat getInputConfiguration(); void setInputConfiguration(@NonNull InputConfigurationCompat input); CaptureRequest getSessionParameters(); void setSessionParameters(CaptureRequest params); @Nullable Object unwrap(); @Override boolean equals(@Nullable Object obj); static final int SESSION_REGULAR; static final int SESSION_HIGH_SPEED; }
@Test(expected = UnsupportedOperationException.class) public void cannotSetInputConfiguration_onHighSpeedSession() { SessionConfigurationCompat sessionConfigCompat = new SessionConfigurationCompat( SessionConfigurationCompat.SESSION_HIGH_SPEED, mOutputs, mCallbackExecutor, mStateCallback); InputConfigurationCompat inputConfigurationCompat = new InputConfigurationCompat(WIDTH, HEIGHT, FORMAT); sessionConfigCompat.setInputConfiguration(inputConfigurationCompat); }