Class TimeCodeResponse


  • public class TimeCodeResponse
    extends Object
    JSON wrapper for the time code response
    • Constructor Detail

      • TimeCodeResponse

        public TimeCodeResponse()
    • Method Detail

      • convertFromString

        public static TimeCodeResponse convertFromString​(String resp)
        Converts the string response to a TimeCodeResponse.
        Parameters:
        resp - response to convert
        Returns:
        TimeCodeResponse object with converted values inserted.
      • getFirst

        public TileTimeInfo getFirst()
        Get the first item from the list of images.
        Returns:
        the first item, null otherwise.
      • get

        public TileTimeInfo get​(int index)
        Gets the index from the file list.
        Parameters:
        index - the index to get.
        Returns:
        The index from the list, null if out of bounds or list is null.