Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

USB device attached?

A decision block that check if a USB device is currently attached.

If the proceed option is set to Immediately, then check if a USB is currently attached without pausing the fiber. If set to When changed, then the fiber will pause until the USB device has been attached, or detached.

Options

  • Proceed — when the fiber should proceed.

Input arguments

  • Device product id — product id of device, default is any.
  • Device product name — product name of device, default is any. (Android 5+)
  • Device vendor id — id of the vendor of device, default is any.
  • Device manufacturer name — name of the manufacturer of device, default is any. (Android 5+)
  • Device type — type of device, default is any.
  • Device subtype — subtype of device, default is any.

Output variables

  • Attached device product id — variable to assign the product id the attached device.
  • Attached device product name — variable to assign the product name of the attached device. (Android 5+)
  • Attached device vendor id — variable to assign the id of the vendor of the attached device.
  • Attached device manufacturer name — variable to assign the name of the manufacturer of the attached device. (Android 5+)
  • Attached device type — variable to assign the type of the attached device.
  • Attached device subtype — variable to assign the subtype of the attached device.
Note! This documentation is also accessible within the app from Help & feedback menu.