Class MediaUtils

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  MediaUtils.SupportedCodecs
      An object providing lists of video codecs for encoding and decoding video that are supported on the device.
      static class  MediaUtils.VideoCodecType
      An enum of video codec types.
    • Constructor Summary

      Constructors 
      Constructor Description
      MediaUtils()  
    • Constructor Detail

      • MediaUtils

        public MediaUtils()
    • Method Detail

      • getSupportedCodecs

        public static MediaUtils.SupportedCodecs getSupportedCodecs​(android.content.Context context)
        Parameters:
        context - The android.content.Context for the MediaUtils object.
        Returns:
        Returns an object that lists video codecs (for encoding and decoding) supported on the device.