LCInstallation
public class LCInstallation : LCObject
LeanCloud installation type.
-
The badge of installation.
Declaration
Swift
@objc dynamic public var badge: LCNumber?
-
The time zone of installtion.
Declaration
Swift
@objc dynamic public var timeZone: LCString?
-
The channels of installation, which contains client ID of IM.
Declaration
Swift
@objc dynamic public var channels: LCArray?
-
The type of device.
Declaration
Swift
@objc dynamic public var deviceType: LCString?
-
The device token used to push notification.
Declaration
Swift
@objc dynamic public private(set) var deviceToken: LCString? { get }
-
The device profile. You can use this property to select one from mutiple push certificates or configurations.
Declaration
Swift
@objc dynamic public var deviceProfile: LCString?
-
The installation ID of device, it’s mainly for Android device.
Declaration
Swift
@objc dynamic public var installationId: LCString?
-
The APNs topic of installation.
Declaration
Swift
@objc dynamic public var apnsTopic: LCString?
-
The APNs Team ID of installation.
Declaration
Swift
@objc dynamic public private(set) var apnsTeamId: LCString? { get }
-
Declaration
Swift
public final override class func objectClassName() -> String
-
Declaration
Swift
public required init()
-
Declaration
Swift
public required init(application: LCApplication)
-
Set required properties for installation.
Declaration
Swift
public func set( deviceToken: LCDeviceTokenConvertible, apnsTeamId: LCStringConvertible)
Parameters
deviceToken
The device token.
deviceProfile
The device profile.
apnsTeamId
The Team ID of your Apple Developer Account.