List of usage examples for android.content ClipDescription getMimeType
public String getMimeType(int index)
From source file:Main.java
private static void appendClipDescription(StringBuilder sb, ClipDescription desc) { if (desc != null) { append(sb, "desc", desc.getLabel()); int n = desc.getMimeTypeCount(); appendInt(sb, n);//w w w . jav a 2s . c o m for (int i = 0; i < n; i++) { append(sb, desc.getMimeType(i)); } } else { append(sb, (String) null); } }