@NonNull
        public Builder setAllowDataType(@NonNull String mimeType, boolean doAllow) {
            if (doAllow) {
                mAllowedDataTypes.add(mimeType);
            } else {
                mAllowedDataTypes.remove(mimeType);
            }
            return this;
        }
Specifies whether the user can provide arbitrary values.

@param mimeType A mime type that results are allowed to come in.
                Be aware that text results (see {@link #setAllowFreeFormInput}
                are allowed by default. If you do not want text results you will have to
                pass false to {@code setAllowFreeFormInput}
@param doAllow  Whether the mime type should be allowed or not
@return this object for method chaining
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/compat/RemoteInput.java