Marketing Cloud SDK / com.salesforce.marketingcloud.messages.push / PushMessageManager / isPushEnabled

isPushEnabled

abstract fun isPushEnabled(): Boolean

Returns whether or not push messaging is enabled. If false then no push messages will be sent to the device.