isFirstInstance property

bool isFirstInstance
getter/setter pair

This field indicates whether this instance is the first instance created. It is used to decide if a foreground service should be started.

Implementation

bool isFirstInstance = false;