id property

String id
final

Id of the work.

It's the BGTask identifier on iOS, and work UUID on Android.

Please notice that it's NOT the identifier you specify in the WorkIntent when you schedule the work on Android devices. Retrieves the identifier from tags instead.

Implementation

final String id;