List of usage examples for android.content ClipDescription getMimeTypeCount
public int getMimeTypeCount()
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);//from ww w . j av a2 s. c o m for (int i = 0; i < n; i++) { append(sb, desc.getMimeType(i)); } } else { append(sb, (String) null); } }