static ReadableMap getVideoResponseMap(Uri uri, Uri appSpecificUri,Options options, Context context) {
        WritableMap map = Arguments.createMap();
        VideoMetadata videoMetadata = new VideoMetadata(appSpecificUri, context);

        String fileName = getFileName(uri, context);
        String originalPath = getOriginalFilePath(uri, context);

        map.putString("uri", appSpecificUri.toString());
        map.putDouble("fileSize", getFileSize(appSpecificUri, context));
        map.putInt("duration", videoMetadata.getDuration());
        map.putInt("bitrate", videoMetadata.getBitrate());
        map.putString("fileName", fileName);
        map.putString("type", getMimeType(appSpecificUri, context));
        map.putInt("width", videoMetadata.getWidth());
        map.putInt("height", videoMetadata.getHeight());
        map.putString("originalPath", originalPath);

        if (options.includeExtra) {
            // Add more extra data here ...
            map.putString("timestamp", videoMetadata.getDateTime());
            map.putString("id", fileName);
        }

        return map;
    }
Verifies the content typs of a file URI. A helper function
for isVideoType and isImageType

@param contentMimeType - "video/" or "image/"
@param uri             - file uri
@param context         - react context
@return a boolean to determine if file is of specified content type i.e. image or video
android/src/main/java/com/imagepicker/Utils.java