Package serializers.protobuf.MediaContentHolder

Examples of serializers.protobuf.MediaContentHolder.Media


      assetEquals(image.getWidth(), 0);
      assetEquals(image.getHeight(), 0);
  }

  public void checkMediaField(MediaContent content) {
      Media media = content.getMedia();
      assetEquals(media.getUri(), "http://javaone.com/keynote.mpg");
      assetEquals(media.getFormat(), "video/mpg4");
      assetEquals(media.getTitle(), "Javaone Keynote");
      assetEquals(media.getDuration(), 1234567L);
      assetEquals(media.getSize(), 123L);
      assetEquals(media.getBitrate(), 0);
      assetEquals(media.getPlayer(), Player.JAVA);
      assetEquals(media.getWidth(), 0);
      assetEquals(media.getHeight(), 0);
  }
View Full Code Here

TOP

Related Classes of serializers.protobuf.MediaContentHolder.Media

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.