Gcm
public struct Gcm
Settings specific to the Android platform.
-
init(androidTitle:
collapseKey: delayWhileIdle: payload: priority: sound: timeToLive: interactiveCategory: icon: sync: visibility: lights: style: type: groupId: ) The required intializer for the
Gcm
class.Declaration
Swift
public init(androidTitle: String? = nil, collapseKey: String? = nil, delayWhileIdle: Bool? = nil, payload: [String : Any]? = nil, priority: GcmPriority? = nil, sound: String? = nil, timeToLive: Double? = nil, interactiveCategory: String? = nil, icon: String? = nil, sync: Bool? = nil, visibility: GcmVisibility? = nil, lights: GcmLights? = nil, style: GcmStyle? = nil, type: FCMType? = nil, groupId: String? = nil)
Parameters
collapseKey
(Optional) GCM collapseKey value.
delayWhileIdle
(Optional) GCM delayWhileIdle value.
payload
(Optional) GCM payload Json.
priority
(Optional) GCM priority value.
sound
(Optional) GCM sound file name.
timeToLive
(Optional) GCM timeToLive value.
interactiveCategory
(Optional) GCM interactive actions Category value.
icon
(Optional) GCM icon file name.
sync
(Optional) GCM sync value.
visibility
(Optional) GcmVisibility object.
lights
(Optional) GcmLights object.
style
(Optional) GcmStyle object.
type
(Optional) FCMType object.
androidTitle
(Optional) android Title.
groupId
(Optional) android group id.