new Document From Intent
public static GiniCaptureDocument newDocumentFromIntent(@NonNull() Intent intent, @NonNull() Context context, @NonNull() String deviceOrientation, @NonNull() String deviceType, @NonNull() Document.ImportMethod importMethod)
Return
new Document instance with the contents of the Intent's Uri
Parameters
Throws
if the Intent's data is null or the mime type is unknown