Class ActivityOptions

    • Constructor Detail

      • ActivityOptions

        public ActivityOptions()
      • ActivityOptions

        public ActivityOptions​(java.util.Map<java.lang.String,​java.lang.Object> options)
    • Method Detail

      • withLaunchDisplayId

        public ActivityOptions withLaunchDisplayId​(int id)
        Display id which you want to assign to launch the main app activity on. This might be useful if the device under test supports multiple displays.
        Parameters:
        id - Display identifier.
        Returns:
        self instance for chaining.
      • getLaunchDisplayId

        public java.util.Optional<java.lang.Integer> getLaunchDisplayId()
        Get display id which you want to assign to launch the main app activity on.
        Returns:
        Display identifier.