Class CroppingActivity

  • All Implemented Interfaces:
    io.scanbot.sdk.ui_v2.common.activity.Cancelable , io.scanbot.sdk.ui_v2.common.activity.IForceCloseCallback , io.scanbot.sdk.ui_v2.common.activity.Initializable , io.scanbot.sdk.ui_v2.common.activity.Licensable

    
    public final class CroppingActivity
    extends BaseCroppingActivity
                        

    Represents standalone cropping screen.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class CroppingActivity.ResultContract

      Predefined AndroidX Activity Result API contract, ScanbotSDK-flavored.

      Implementation of ActivityResultContract for Cropping RTU scanner activity.

      Encapsulates all the hassle of input and result data mapping into- and from intent's bundle.

      public final class CroppingActivity.Result

      Wrapper-class for all information, obtained as a result of RTU activity work.

      public class CroppingActivity.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Function1<CroppingConfiguration, Unit> getCreateView() Will be overridden by descendants that define their own composable views, but we need to call it in onCreate here.
      Unit forceClose() This method is called when the activity is closed by the timeout with canceling
      final static Intent newIntent(Context context, CroppingConfiguration configuration) Factory method to construct intent to start this activity.
      static CroppingActivity.Result extractResult(Integer resultCode, Intent data) Extract result entity encapsulating this RTU-activity's work.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait