getPersistentApp

getPersistentApp(): Application;

The getPersistentApp method of the Application class returns a reference to the persistent application from which the transient instance of the receiver was created.

When using imported packages, for example, this method enables you to compare the Process class persistentApp reference of the process of the receiver with the persistent application to determine whether the application of the process is the same as you local package application.