Class MediaMetadata.Builder

    • Field Detail

      • timeTaken

        protected java.util.Date timeTaken
    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • withDimensions

        public MediaMetadata.Builder withDimensions​(Dimensions dimensions)
        Set value for optional field.
        Parameters:
        dimensions - Dimension of the photo/video.
        Returns:
        this builder
      • withLocation

        public MediaMetadata.Builder withLocation​(GpsCoordinates location)
        Set value for optional field.
        Parameters:
        location - The GPS coordinate of the photo/video.
        Returns:
        this builder
      • withTimeTaken

        public MediaMetadata.Builder withTimeTaken​(java.util.Date timeTaken)
        Set value for optional field.
        Parameters:
        timeTaken - The timestamp when the photo/video is taken.
        Returns:
        this builder