Back to project page FireCast.
The source code is released under:
MIT License
If you think the Android project FireCast listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.google.plus.dougnlamb.firecast; /*w w w .j a va2 s . co m*/ import java.util.Hashtable; import java.util.Map; public class MediaItem { private String url; private String mimeType; private int orientation; public MediaItem(String url, String mimetype, int orientation) { this.setUrl(url); this.setMimeType(mimetype); this.setOrientation(orientation); } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public String getMimeType() { return mimeType; } public void setMimeType(String mimeType) { this.mimeType = mimeType; } private int getOrientation() { return orientation; } private void setOrientation(int orientation) { this.orientation = orientation; } public Map getMap() { Map<String, String> map = new Hashtable<String, String>(); map.put("url", getUrl()); map.put("mimeType", getMimeType()); map.put("orientation", Integer.toString(getOrientation())); return map; } }