SP.AppInstance.status property (sp.js)

Gets the lifecycle of an app instance based on the constants defined by the SP.AppInstanceStatus enumeration (sp.js) enumeration.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.AppInstance.get_status ()

Return value

Undefined

The lifecycle status.