ReviewActivity

public class ReviewActivity extends AppCompatActivity implements ReviewFragmentListener, ReviewFragmentInterface
Screen API When you use the Screen API, the ReviewActivity displays the photographed or imported image and allows the user to review it by checking the sharpness, quality and orientation of the image. The user can correct the orientation by rotating the image.

The preferred way of adding network calls to the Gini Capture SDK is by creating a GiniCapture instance with a GiniCaptureNetworkService and a GiniCaptureNetworkApi implementation.

The ReviewActivity is started by the CameraActivity after the user has taken a photo or imported an image of a document.

Customizing the Review Screen Customizing the look of the Review Screen is done via overriding of app resources.

The following items are customizable:

  • Rotate button icon: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named gc_review_button_rotate.png
  • Rotate button color: via the color resources named gc_review_fab_mini and gc_review_fab_mini_pressed
  • Next button icon: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named gc_review_fab_next.png
  • Next button color: via the color resources named gc_review_fab and gc_review_fab_pressed
  • Bottom advice text: via the string resource named gc_review_bottom_panel_text
  • Bottom text color: via the color resource named gc_review_bottom_panel_text
  • Bottom text font: via overriding the style named GiniCaptureTheme.Review.BottomPanel.TextStyle and setting an item named gcCustomFont with the path to the font file in your assets folder
  • Bottom text style: via overriding the style named GiniCaptureTheme.Review.BottomPanel.TextStyle and setting an item named android:textStyle to normal, bold or italic
  • Bottom text size: via overriding the style named GiniCaptureTheme.Review.BottomPanel.TextStyle and setting an item named android:textSize to the desired sp size
  • Bottom panel background color: via the color resource named gc_review_bottom_panel_background
  • Background color: via the color resource named gc_background. Note: this color resource is global to all Activities (CameraActivity, , ReviewActivity, AnalysisActivity)

Important: All overridden styles must have their respective Root. prefixed style as their parent. Ex.: the parent of GiniCaptureTheme.Review.BottomPanel.TextStyle must be Root.GiniCaptureTheme.Review.BottomPanel.TextStyle.

Customizing the Action Bar Customizing the Action Bar is also done via overriding of app resources and each one - except the title string resource - is global to all Activities (CameraActivity, , ReviewActivity, AnalysisActivity).

The following items are customizable:

  • Background color: via the color resource named gc_action_bar (highly recommended for Android 5+: customize the status bar color via gc_status_bar)
  • Title: via the string resource you set in your AndroidManifest.xml when declaring your Activity that extends ReviewActivity. The default title string resource is named gc_title_review
  • Title color: via the color resource named gc_action_bar_title
  • Back button: via images for mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi named gc_action_bar_back

Functions

Link copied to clipboard
void addContentView(View view, ViewGroup.LayoutParams params)
Link copied to clipboard
final void addOnContextAvailableListener(OnContextAvailableListener listener)
Link copied to clipboard
void applyOverrideConfiguration(Configuration overrideConfiguration)
Link copied to clipboard
boolean bindIsolatedService(Intent service, int flags, String instanceName, Executor executor, ServiceConnection conn)
Link copied to clipboard
boolean bindService(Intent service, ServiceConnection conn, int flags)
Link copied to clipboard
boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, UserHandle user)
Link copied to clipboard
int checkCallingOrSelfPermission(String permission)
Link copied to clipboard
int checkCallingOrSelfUriPermission(Uri uri, int modeFlags)
Link copied to clipboard
Array<int> checkCallingOrSelfUriPermissions(List<Uri> uris, int modeFlags)
Link copied to clipboard
int checkCallingPermission(String permission)
Link copied to clipboard
int checkCallingUriPermission(Uri uri, int modeFlags)
Link copied to clipboard
Array<int> checkCallingUriPermissions(List<Uri> uris, int modeFlags)
Link copied to clipboard
int checkPermission(String permission, int pid, int uid)
Link copied to clipboard
int checkSelfPermission(String permission)
Link copied to clipboard
int checkUriPermission(Uri uri, int pid, int uid, int modeFlags)
Link copied to clipboard
Array<int> checkUriPermissions(List<Uri> uris, int pid, int uid, int modeFlags)
Link copied to clipboard
void clearWallpaper()
Link copied to clipboard
void closeContextMenu()
Link copied to clipboard
void closeOptionsMenu()
Link copied to clipboard
Context createAttributionContext(String attributionTag)
Link copied to clipboard
Context createConfigurationContext(Configuration overrideConfiguration)
Link copied to clipboard
Context createContext(ContextParams contextParams)
Link copied to clipboard
Context createContextForSplit(String splitName)
Link copied to clipboard
Context createDeviceProtectedStorageContext()
Link copied to clipboard
Context createDisplayContext(Display display)
Link copied to clipboard
Context createPackageContext(String packageName, int flags)
Link copied to clipboard
PendingIntent createPendingResult(int requestCode, Intent data, int flags)
Link copied to clipboard
Context createWindowContext(int type, Bundle options)
Link copied to clipboard
Array<String> databaseList()
Link copied to clipboard
boolean deleteDatabase(String name)
Link copied to clipboard
boolean deleteFile(String name)
Link copied to clipboard
boolean deleteSharedPreferences(String name)
Link copied to clipboard
final void dismissDialog(int id)
Link copied to clipboard
final void dismissKeyboardShortcutsHelper()
Link copied to clipboard
boolean dispatchGenericMotionEvent(MotionEvent ev)
Link copied to clipboard
boolean dispatchKeyEvent(KeyEvent event)
Link copied to clipboard
boolean dispatchKeyShortcutEvent(KeyEvent event)
Link copied to clipboard
boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event)
Link copied to clipboard
boolean dispatchTouchEvent(MotionEvent ev)
Link copied to clipboard
boolean dispatchTrackballEvent(MotionEvent ev)
Link copied to clipboard
void dump(String prefix, FileDescriptor fd, PrintWriter writer, Array<String> args)
Link copied to clipboard
void enforceCallingOrSelfPermission(String permission, String message)
Link copied to clipboard
void enforceCallingOrSelfUriPermission(Uri uri, int modeFlags, String message)
Link copied to clipboard
void enforceCallingPermission(String permission, String message)
Link copied to clipboard
void enforceCallingUriPermission(Uri uri, int modeFlags, String message)
Link copied to clipboard
void enforcePermission(String permission, int pid, int uid, String message)
Link copied to clipboard
void enforceUriPermission(Uri uri, int pid, int uid, int modeFlags, String message)
Link copied to clipboard
void enterPictureInPictureMode()
boolean enterPictureInPictureMode(PictureInPictureParams params)
Link copied to clipboard
Array<String> fileList()
Link copied to clipboard
T findViewById<T extends View>(int id)
Link copied to clipboard
void finish()
Link copied to clipboard
void finishActivity(int requestCode)
Link copied to clipboard
void finishActivityFromChild(Activity child, int requestCode)
Link copied to clipboard
void finishAffinity()
Link copied to clipboard
void finishAfterTransition()
Link copied to clipboard
void finishAndRemoveTask()
Link copied to clipboard
void finishFromChild(Activity child)
Link copied to clipboard
ActionBar getActionBar()
Link copied to clipboard
final ActivityResultRegistry getActivityResultRegistry()
Link copied to clipboard
final Application getApplication()
Link copied to clipboard
Context getApplicationContext()
Link copied to clipboard
ApplicationInfo getApplicationInfo()
Link copied to clipboard
AssetManager getAssets()
Link copied to clipboard
AttributionSource getAttributionSource()
Link copied to clipboard
String getAttributionTag()
Link copied to clipboard
Context getBaseContext()
Link copied to clipboard
File getCacheDir()
Link copied to clipboard
ComponentName getCallingActivity()
Link copied to clipboard
String getCallingPackage()
Link copied to clipboard
int getChangingConfigurations()
Link copied to clipboard
ClassLoader getClassLoader()
Link copied to clipboard
File getCodeCacheDir()
Link copied to clipboard
final int getColor(int id)
Link copied to clipboard
final ColorStateList getColorStateList(int id)
Link copied to clipboard
ComponentName getComponentName()
Link copied to clipboard
ContentResolver getContentResolver()
Link copied to clipboard
Scene getContentScene()
Link copied to clipboard
TransitionManager getContentTransitionManager()
Link copied to clipboard
View getCurrentFocus()
Link copied to clipboard
File getDatabasePath(String name)
Link copied to clipboard
File getDataDir()
Link copied to clipboard
AppCompatDelegate getDelegate()
Link copied to clipboard
File getDir(String name, int mode)
Link copied to clipboard
Display getDisplay()
Link copied to clipboard
final Drawable getDrawable(int id)
Link copied to clipboard
Link copied to clipboard
File getExternalCacheDir()
Link copied to clipboard
Array<File> getExternalCacheDirs()
Link copied to clipboard
File getExternalFilesDir(String type)
Link copied to clipboard
Array<File> getExternalFilesDirs(String type)
Link copied to clipboard
Array<File> getExternalMediaDirs()
Link copied to clipboard
T getExtraData<T extends ComponentActivity.ExtraData>(Class<T> extraDataClass)
Link copied to clipboard
File getFilesDir()
Link copied to clipboard
File getFileStreamPath(String name)
Link copied to clipboard
FragmentManager getFragmentManager()
Link copied to clipboard
Intent getIntent()
Link copied to clipboard
Object getLastCustomNonConfigurationInstance()
Link copied to clipboard
Object getLastNonConfigurationInstance()
Link copied to clipboard
LayoutInflater getLayoutInflater()
Link copied to clipboard
Lifecycle getLifecycle()
Link copied to clipboard
LoaderManager getLoaderManager()
Link copied to clipboard
String getLocalClassName()
Link copied to clipboard
Executor getMainExecutor()
Link copied to clipboard
Looper getMainLooper()
Link copied to clipboard
int getMaxNumPictureInPictureActions()
Link copied to clipboard
final MediaController getMediaController()
Link copied to clipboard
MenuInflater getMenuInflater()
Link copied to clipboard
File getNoBackupFilesDir()
Link copied to clipboard
File getObbDir()
Link copied to clipboard
Array<File> getObbDirs()
Link copied to clipboard
final OnBackPressedDispatcher getOnBackPressedDispatcher()
Link copied to clipboard
String getOpPackageName()
Link copied to clipboard
String getPackageCodePath()
Link copied to clipboard
PackageManager getPackageManager()
Link copied to clipboard
String getPackageName()
Link copied to clipboard
String getPackageResourcePath()
Link copied to clipboard
ContextParams getParams()
Link copied to clipboard
final Activity getParent()
Link copied to clipboard
Intent getParentActivityIntent()
Link copied to clipboard
SharedPreferences getPreferences(int mode)
Link copied to clipboard
Uri getReferrer()
Link copied to clipboard
int getRequestedOrientation()
Link copied to clipboard
Resources getResources()
Link copied to clipboard
final SavedStateRegistry getSavedStateRegistry()
Link copied to clipboard
final SearchEvent getSearchEvent()
Link copied to clipboard
SharedPreferences getSharedPreferences(String name, int mode)
Link copied to clipboard
final SplashScreen getSplashScreen()
Link copied to clipboard
final String getString(int resId)
Link copied to clipboard
ActionBar getSupportActionBar()
Link copied to clipboard
FragmentManager getSupportFragmentManager()
Link copied to clipboard
LoaderManager getSupportLoaderManager()
Link copied to clipboard
Intent getSupportParentActivityIntent()
Link copied to clipboard
Object getSystemService(String name)
final T getSystemService<T>(Class<T> serviceClass)
Link copied to clipboard
String getSystemServiceName(Class<? extends Object> serviceClass)
Link copied to clipboard
int getTaskId()
Link copied to clipboard
final CharSequence getText(int resId)
Link copied to clipboard
Resources.Theme getTheme()
Link copied to clipboard
final CharSequence getTitle()
Link copied to clipboard
final int getTitleColor()
Link copied to clipboard
ViewModelStore getViewModelStore()
Link copied to clipboard
VoiceInteractor getVoiceInteractor()
Link copied to clipboard
final int getVolumeControlStream()
Link copied to clipboard
Drawable getWallpaper()
Link copied to clipboard
int getWallpaperDesiredMinimumHeight()
Link copied to clipboard
int getWallpaperDesiredMinimumWidth()
Link copied to clipboard
Window getWindow()
Link copied to clipboard
WindowManager getWindowManager()
Link copied to clipboard
void grantUriPermission(String toPackage, Uri uri, int modeFlags)
Link copied to clipboard
boolean hasWindowFocus()
Link copied to clipboard
void invalidateOptionsMenu()
Link copied to clipboard
boolean isActivityTransitionRunning()
Link copied to clipboard
boolean isChangingConfigurations()
Link copied to clipboard
final boolean isChild()
Link copied to clipboard
boolean isDestroyed()
Link copied to clipboard
boolean isDeviceProtectedStorage()
Link copied to clipboard
boolean isFinishing()
Link copied to clipboard
boolean isImmersive()
Link copied to clipboard
boolean isInMultiWindowMode()
Link copied to clipboard
boolean isInPictureInPictureMode()
Link copied to clipboard
boolean isLaunchedFromBubble()
Link copied to clipboard
boolean isLocalVoiceInteractionSupported()
Link copied to clipboard
boolean isRestricted()
Link copied to clipboard
boolean isTaskRoot()
Link copied to clipboard
boolean isUiContext()
Link copied to clipboard
boolean isVoiceInteraction()
Link copied to clipboard
boolean isVoiceInteractionRoot()
Link copied to clipboard
final Cursor managedQuery(Uri uri, Array<String> projection, String selection, Array<String> selectionArgs, String sortOrder)
Link copied to clipboard
boolean moveDatabaseFrom(Context sourceContext, String name)
Link copied to clipboard
boolean moveSharedPreferencesFrom(Context sourceContext, String name)
Link copied to clipboard
boolean moveTaskToBack(boolean nonRoot)
Link copied to clipboard
boolean navigateUpTo(Intent upIntent)
Link copied to clipboard
boolean navigateUpToFromChild(Activity child, Intent upIntent)
Link copied to clipboard
final TypedArray obtainStyledAttributes(Array<int> attrs)
Link copied to clipboard
void onActionModeFinished(ActionMode mode)
Link copied to clipboard
void onActionModeStarted(ActionMode mode)
Link copied to clipboard
void onActivityReenter(int resultCode, Intent data)
Link copied to clipboard
void onAttachedToWindow()
Link copied to clipboard
void onAttachFragment(Fragment fragment)
Link copied to clipboard
void onBackPressed()
Link copied to clipboard
void onConfigurationChanged(Configuration newConfig)
Link copied to clipboard
void onContentChanged()
Link copied to clipboard
boolean onContextItemSelected(MenuItem item)
Link copied to clipboard
void onContextMenuClosed(Menu menu)
Link copied to clipboard
void onCreateContextMenu(ContextMenu menu, View v, ContextMenu.ContextMenuInfo menuInfo)
Link copied to clipboard
CharSequence onCreateDescription()
Link copied to clipboard
void onCreateNavigateUpTaskStack(TaskStackBuilder builder)
Link copied to clipboard
boolean onCreateOptionsMenu(Menu menu)
Link copied to clipboard
boolean onCreatePanelMenu(int featureId, Menu menu)
Link copied to clipboard
View onCreatePanelView(int featureId)
Link copied to clipboard
void onCreateSupportNavigateUpTaskStack(TaskStackBuilder builder)
Link copied to clipboard
boolean onCreateThumbnail(Bitmap outBitmap, Canvas canvas)
Link copied to clipboard
View onCreateView(View parent, String name, Context context, AttributeSet attrs)
Link copied to clipboard
void onDetachedFromWindow()
Link copied to clipboard
void onEnterAnimationComplete()
Link copied to clipboard
void onError(@NonNull() GiniCaptureError error)
Called when an error occurred.
Link copied to clipboard
boolean onGenericMotionEvent(MotionEvent event)
Link copied to clipboard
void onGetDirectActions(CancellationSignal cancellationSignal, Consumer<List<DirectAction>> callback)
Link copied to clipboard
boolean onKeyDown(int keyCode, KeyEvent event)
Link copied to clipboard
boolean onKeyLongPress(int keyCode, KeyEvent event)
Link copied to clipboard
boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event)
Link copied to clipboard
boolean onKeyShortcut(int keyCode, KeyEvent event)
Link copied to clipboard
boolean onKeyUp(int keyCode, KeyEvent event)
Link copied to clipboard
void onLocalVoiceInteractionStarted()
Link copied to clipboard
void onLocalVoiceInteractionStopped()
Link copied to clipboard
void onLowMemory()
Link copied to clipboard
final boolean onMenuItemSelected(int featureId, MenuItem item)
Link copied to clipboard
boolean onMenuOpened(int featureId, Menu menu)
Link copied to clipboard
void onMultiWindowModeChanged(boolean isInMultiWindowMode)
Link copied to clipboard
boolean onNavigateUp()
Link copied to clipboard
boolean onNavigateUpFromChild(Activity child)
Link copied to clipboard
boolean onOptionsItemSelected(MenuItem item)
Link copied to clipboard
void onOptionsMenuClosed(Menu menu)
Link copied to clipboard
void onPanelClosed(int featureId, Menu menu)
Link copied to clipboard
void onPerformDirectAction(String actionId, Bundle arguments, CancellationSignal cancellationSignal, Consumer<Bundle> resultListener)
Link copied to clipboard
void onPictureInPictureModeChanged(boolean isInPictureInPictureMode)
Link copied to clipboard
boolean onPictureInPictureRequested()
Link copied to clipboard
void onPictureInPictureUiStateChanged(PictureInPictureUiState pipState)
Link copied to clipboard
void onPointerCaptureChanged(boolean hasCapture)
Link copied to clipboard
void onPrepareNavigateUpTaskStack(TaskStackBuilder builder)
Link copied to clipboard
boolean onPrepareOptionsMenu(Menu menu)
Link copied to clipboard
boolean onPreparePanel(int featureId, View view, Menu menu)
Link copied to clipboard
void onPrepareSupportNavigateUpTaskStack(TaskStackBuilder builder)
Link copied to clipboard
void onProceedToAnalysisScreen(@NonNull() Document document, @Nullable() String errorMessage)
Called when the user tapped on the Next button and one of the following conditions apply:
  • Analysis is in progress
  • Analysis completed with an error
  • The image was rotated

    You should start your Activity extending AnalysisActivity and set the document as the EXTRA_IN_DOCUMENT extra.

Link copied to clipboard
void onProvideAssistContent(AssistContent outContent)
Link copied to clipboard
void onProvideAssistData(Bundle data)
Link copied to clipboard
void onProvideKeyboardShortcuts(List<KeyboardShortcutGroup> data, Menu menu, int deviceId)
Link copied to clipboard
Uri onProvideReferrer()
Link copied to clipboard
void onRequestPermissionsResult(int requestCode, Array<String> permissions, Array<int> grantResults)
Link copied to clipboard
Object onRetainCustomNonConfigurationInstance()
Link copied to clipboard
final Object onRetainNonConfigurationInstance()
Link copied to clipboard
boolean onSearchRequested(SearchEvent searchEvent)
Link copied to clipboard
void onStateNotSaved()
Link copied to clipboard
void onSupportActionModeFinished(ActionMode mode)
Link copied to clipboard
void onSupportActionModeStarted(ActionMode mode)
Link copied to clipboard
void onSupportContentChanged()
Link copied to clipboard
boolean onSupportNavigateUp()
Link copied to clipboard
void onTopResumedActivityChanged(boolean isTopResumedActivity)
Link copied to clipboard
boolean onTouchEvent(MotionEvent event)
Link copied to clipboard
boolean onTrackballEvent(MotionEvent event)
Link copied to clipboard
void onTrimMemory(int level)
Link copied to clipboard
void onUserInteraction()
Link copied to clipboard
void onVisibleBehindCanceled()
Link copied to clipboard
void onWindowAttributesChanged(WindowManager.LayoutParams params)
Link copied to clipboard
void onWindowFocusChanged(boolean hasFocus)
Link copied to clipboard
ActionMode onWindowStartingActionMode(ActionMode.Callback callback)
Link copied to clipboard
Link copied to clipboard
void openContextMenu(View view)
Link copied to clipboard
FileInputStream openFileInput(String name)
Link copied to clipboard
FileOutputStream openFileOutput(String name, int mode)
Link copied to clipboard
void openOptionsMenu()
Link copied to clipboard
SQLiteDatabase openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory)
Link copied to clipboard
void overridePendingTransition(int enterAnim, int exitAnim)
Link copied to clipboard
Context peekAvailableContext()
Link copied to clipboard
Drawable peekWallpaper()
Link copied to clipboard
void postponeEnterTransition()
Link copied to clipboard
void putExtraData(ComponentActivity.ExtraData extraData)
Link copied to clipboard
void recreate()
Link copied to clipboard
Link copied to clipboard
void registerComponentCallbacks(ComponentCallbacks callback)
Link copied to clipboard
final ActivityResultLauncher<I> registerForActivityResult<I, O>(ActivityResultContract<I, O> contract, ActivityResultRegistry registry, ActivityResultCallback<O> callback)
Link copied to clipboard
void registerForContextMenu(View view)
Link copied to clipboard
Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter)
Link copied to clipboard
boolean releaseInstance()
Link copied to clipboard
final void removeDialog(int id)
Link copied to clipboard
final void removeOnContextAvailableListener(OnContextAvailableListener listener)
Link copied to clipboard
void removeStickyBroadcast(Intent intent)
Link copied to clipboard
void removeStickyBroadcastAsUser(Intent intent, UserHandle user)
Link copied to clipboard
void reportFullyDrawn()
Link copied to clipboard
Link copied to clipboard
final void requestPermissions(Array<String> permissions, int requestCode)
Link copied to clipboard
final void requestShowKeyboardShortcuts()
Link copied to clipboard
boolean requestVisibleBehind(boolean visible)
Link copied to clipboard
final boolean requestWindowFeature(int featureId)
Link copied to clipboard
final T requireViewById<T extends View>(int id)
Link copied to clipboard
void revokeUriPermission(Uri uri, int modeFlags)
Link copied to clipboard
final void runOnUiThread(Runnable action)
Link copied to clipboard
void sendBroadcast(Intent intent)
Link copied to clipboard
void sendBroadcastAsUser(Intent intent, UserHandle user)
Link copied to clipboard
void sendBroadcastWithMultiplePermissions(Intent intent, Array<String> receiverPermissions)
Link copied to clipboard
void sendOrderedBroadcast(Intent intent, String receiverPermission)
Link copied to clipboard
void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Link copied to clipboard
void sendStickyBroadcast(Intent intent)
Link copied to clipboard
void sendStickyBroadcastAsUser(Intent intent, UserHandle user)
Link copied to clipboard
void sendStickyOrderedBroadcast(Intent intent, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Link copied to clipboard
void sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras)
Link copied to clipboard
void setActionBar(Toolbar toolbar)
Link copied to clipboard
void setContentTransitionManager(TransitionManager tm)
Link copied to clipboard
void setContentView(int layoutResID)
Link copied to clipboard
final void setDefaultKeyMode(int mode)
Link copied to clipboard
void setEnterSharedElementCallback(SharedElementCallback callback)
Link copied to clipboard
void setExitSharedElementCallback(SharedElementCallback listener)
Link copied to clipboard
final void setFeatureDrawable(int featureId, Drawable drawable)
Link copied to clipboard
final void setFeatureDrawableAlpha(int featureId, int alpha)
Link copied to clipboard
final void setFeatureDrawableResource(int featureId, int resId)
Link copied to clipboard
final void setFeatureDrawableUri(int featureId, Uri uri)
Link copied to clipboard
void setFinishOnTouchOutside(boolean finish)
Link copied to clipboard
void setImmersive(boolean i)
Link copied to clipboard
void setInheritShowWhenLocked(boolean inheritShowWhenLocked)
Link copied to clipboard
void setIntent(Intent newIntent)
Link copied to clipboard
void setListener(@NonNull() ReviewFragmentListener listener)
Set a listener for review events.
Link copied to clipboard
void setLocusContext(LocusId locusId, Bundle bundle)
Link copied to clipboard
final void setMediaController(MediaController controller)
Link copied to clipboard
void setPictureInPictureParams(PictureInPictureParams params)
Link copied to clipboard
final void setProgress(int progress)
Link copied to clipboard
final void setProgressBarIndeterminate(boolean indeterminate)
Link copied to clipboard
final void setProgressBarIndeterminateVisibility(boolean visible)
Link copied to clipboard
final void setProgressBarVisibility(boolean visible)
Link copied to clipboard
void setRequestedOrientation(int requestedOrientation)
Link copied to clipboard
final void setResult(int resultCode)
Link copied to clipboard
final void setSecondaryProgress(int secondaryProgress)
Link copied to clipboard
void setShowWhenLocked(boolean showWhenLocked)
Link copied to clipboard
void setSupportActionBar(Toolbar toolbar)
Link copied to clipboard
void setSupportProgress(int progress)
Link copied to clipboard
void setSupportProgressBarIndeterminate(boolean indeterminate)
void setSupportProgressBarIndeterminateVisibility(boolean visible)
Link copied to clipboard
void setSupportProgressBarVisibility(boolean visible)
Link copied to clipboard
void setTaskDescription(ActivityManager.TaskDescription taskDescription)
Link copied to clipboard
void setTheme(int resId)
Link copied to clipboard
void setTitle(CharSequence title)
Link copied to clipboard
void setTitleColor(int textColor)
Link copied to clipboard
boolean setTranslucent(boolean translucent)
Link copied to clipboard
void setTurnScreenOn(boolean turnScreenOn)
Link copied to clipboard
void setVisible(boolean visible)
Link copied to clipboard
final void setVolumeControlStream(int streamType)
Link copied to clipboard
void setVrModeEnabled(boolean enabled, ComponentName requestedComponent)
Link copied to clipboard
void setWallpaper(Bitmap bitmap)
Link copied to clipboard
boolean shouldShowRequestPermissionRationale(String permission)
Link copied to clipboard
boolean shouldUpRecreateTask(Intent targetIntent)
Link copied to clipboard
boolean showAssist(Bundle args)
Link copied to clipboard
final void showDialog(int id)
final boolean showDialog(int id, Bundle args)
Link copied to clipboard
void showLockTaskEscapeMessage()
Link copied to clipboard
ActionMode startActionMode(ActionMode.Callback callback)
Link copied to clipboard
void startActivities(Array<Intent> intents)
Link copied to clipboard
void startActivity(Intent intent)
Link copied to clipboard
void startActivityForResult(Intent intent, int requestCode)
Link copied to clipboard
void startActivityFromChild(Activity child, Intent intent, int requestCode)
Link copied to clipboard
void startActivityFromFragment(Fragment fragment, Intent intent, int requestCode)
Link copied to clipboard
boolean startActivityIfNeeded(Intent intent, int requestCode)
Link copied to clipboard
ComponentName startForegroundService(Intent service)
Link copied to clipboard
boolean startInstrumentation(ComponentName className, String profileFile, Bundle arguments)
Link copied to clipboard
void startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
Link copied to clipboard
void startIntentSenderForResult(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
Link copied to clipboard
void startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
Link copied to clipboard
void startIntentSenderFromFragment(Fragment fragment, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options)
Link copied to clipboard
void startLocalVoiceInteraction(Bundle privateOptions)
Link copied to clipboard
void startLockTask()
Link copied to clipboard
void startManagingCursor(Cursor c)
Link copied to clipboard
boolean startNextMatchingActivity(Intent intent)
Link copied to clipboard
void startPostponedEnterTransition()
Link copied to clipboard
void startSearch(String initialQuery, boolean selectInitialQuery, Bundle appSearchData, boolean globalSearch)
Link copied to clipboard
ComponentName startService(Intent service)
Link copied to clipboard
ActionMode startSupportActionMode(ActionMode.Callback callback)
Link copied to clipboard
void stopLocalVoiceInteraction()
Link copied to clipboard
void stopLockTask()
Link copied to clipboard
void stopManagingCursor(Cursor c)
Link copied to clipboard
boolean stopService(Intent name)
Link copied to clipboard
boolean superDispatchKeyEvent(KeyEvent event)
Link copied to clipboard
void supportFinishAfterTransition()
Link copied to clipboard
void supportInvalidateOptionsMenu()
Link copied to clipboard
void supportNavigateUpTo(Intent upIntent)
Link copied to clipboard
void supportPostponeEnterTransition()
Link copied to clipboard
boolean supportRequestWindowFeature(int featureId)
Link copied to clipboard
boolean supportShouldUpRecreateTask(Intent targetIntent)
Link copied to clipboard
void supportStartPostponedEnterTransition()
Link copied to clipboard
void takeKeyEvents(boolean get)
Link copied to clipboard
void triggerSearch(String query, Bundle appSearchData)
Link copied to clipboard
void unbindService(ServiceConnection conn)
Link copied to clipboard
void unregisterComponentCallbacks(ComponentCallbacks callback)
Link copied to clipboard
void unregisterForContextMenu(View view)
Link copied to clipboard
void unregisterReceiver(BroadcastReceiver receiver)
Link copied to clipboard
void updateServiceGroup(ServiceConnection conn, int group, int importance)
Link copied to clipboard
final void validateRequestPermissionsRequestCode(int requestCode)

Properties

Link copied to clipboard
public final static String EXTRA_IN_ANALYSIS_ACTIVITY
Internal use only.
public final static String EXTRA_IN_BACK_BUTTON_SHOULD_CLOSE_LIBRARY
Internal use only.
Link copied to clipboard
public final static String EXTRA_IN_DOCUMENT
Internal use only.
Link copied to clipboard
public final static String EXTRA_OUT_DOCUMENT
Internal use only.
Link copied to clipboard
public final static String EXTRA_OUT_ERROR
Internal use only.
Link copied to clipboard
public final static int RESULT_ERROR
Internal use only.
Link copied to clipboard
public final static int RESULT_NO_EXTRACTIONS
Internal use only.