isInTapToPayProcess

Return whether or not the current process is the dedicated Tap to Pay process.

Tap to Pay operates within a dedicated process to ensure the secure handling of payment data. As a result, the client app's Application subclass will be initialized within this process as well. Given that certain operations may be incompatible in this process, this method can be utilized to determine whether the application should skip those operations at all.

Return

true if the current process is the the dedicated Tap to Pay process, and false otherwise.