Code example for ClipDescription

Methods: filterMimeTypes

                return null; 
            // If the pattern is for note IDs and the MIME filter is text/plain, then return 
            // text/plain 
            case NOTE_ID:
                return NOTE_STREAM_TYPES.filterMimeTypes(mimeTypeFilter);
                // If the URI pattern doesn't match any permitted patterns, throws an exception. 
                throw new IllegalArgumentException("Unknown URI " + uri);
     * Returns a stream of data for each supported stream type. This method does a query on the 
     * incoming URI, then uses 
     * {@link android.content.ContentProvider#openPipeHelper(, String, android.os.Bundle, Object, 
     * android.content.ContentProvider.PipeDataWriter)} to start another thread in which to convert the data into a stream. 
Stop searching for code, let great code find you!  Add Codota to your java IDE