SPRecentCall
public class SPRecentCall : Object
Data object representing a recent call
-
Direction of the Call
Declaration
Swift
public enum Direction : Int -
Identifier of the Recent Call
Declaration
Swift
@objc public dynamic var id: String -
Indicates whether the call has already been seen by the user or not
Declaration
Swift
@objc public dynamic var seen: Bool -
The Date When the call started
Declaration
Swift
@objc public dynamic var time: Date -
The second party (e.g. other caller) of the call
Declaration
Swift
public var secondParty: SPNumber { get set } -
The duration of the call
Declaration
Swift
public var duration: TimeInterval { get set } -
The direction of the call (e.g. incoming or outgoing)
Declaration
Swift
public var direction: SPRecentCall.Direction { get set } -
Indicates whether the call was missed or not
Declaration
Swift
@objc public dynamic var missed: Bool -
The SPGateway that was used for the call
Declaration
Swift
@objc public dynamic var gateway: SPGateway? -
Initializes a SPRecentCall object
Declaration
Parameters
secondPartyThe second party (e.g. other caller) of the call
timeThe Date When the call started
durationThe duration of the call
directionThe direction of the call (e.g. incoming or outgoing)
missedIndicates whether the call was missed or not
gatewayThe SPGateway that was used for the call
-
Defines the primary key of the object
Declaration
Swift
override public static func primaryKey() -> String?Return Value
String representation of the primary key
-
Defines ignored properties by Realm
Declaration
Swift
override public static func ignoredProperties() -> [String]Return Value
String array of the properties names
SPRecentCall Class Reference