SCSNotification
@interface SCSNotification : NSObject
An SCSNotification
object represents a push notification that was sent to the app
from your Salesforce connected app.
The SCSNotification
class itself is an abstract class.
Based on the userInfo
dictionary passed to it from the push notification payload, a
concrete subclass of SCSNotification
is returned by calling:
-[SCServiceCloud notificationFromRemoteNotificationDictionary:]
-
Use this property to find out the type of
SCSNotification
instead of usingisKindOfClass
.Declaration
Objective-C
@property (nonatomic, readonly) SCSNotificationType notificationType;
Swift
var notificationType: SCSNotificationType { get }