Class CameraFeatures.FpsRange

  • All Implemented Interfaces:

    
    public class CameraFeatures.FpsRange
    
                        

    Helper class for the FPS ranges to abstract away the differences in camera API 1 and 2

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final int lower
      public final int upper
    • Constructor Summary

      Constructors 
      Constructor Description
      CameraFeatures.FpsRange(int lower, int upper) Create a new range
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

      • CameraFeatures.FpsRange

        CameraFeatures.FpsRange(int lower, int upper)
        Create a new range
        Parameters:
        lower - the lower bound in milliseconds
        upper - the upper bound in milliseconds
    • Method Detail

      • getLower

         int getLower()
        Returns:

        the lower end of the range in milliseconds

      • getUpper

         int getUpper()
        Returns:

        the upper end of the range in milliseconds

      • toString

         String toString()

        Return the range as a string representation "[lower, upper]".

        Returns:

        string representation of the range