/** * Return the types in integer flag. If coerce to text, -1 will be returned. * * @return the types in integer */ public int getTypesFlag() { return this.isCoerceText() ? 0 : ClipDataHelper.getItemTypes(this.getRawContent().getItemAt(0)); }
/** * Return the types in string. * * @return the types */ public String getTypes() { return this.isCoerceText() ? TYPE_COERCE_TEXT : ClipDataHelper.getTypeString( ClipDataHelper.getItemTypes(this.getRawContent().getItemAt(0))); }