PushNotificationConfig

public class PushNotificationConfig : LinphoneObject

Object holding push notification config that will be set in the contact URI parameters of the Contact header in the REGISTER, if the AccountParams is configured to allow push notifications, see AccountParams.setPushNotificationAllowed(). This object can be accessed through the AccountParams object, which can be obtained from your Account object.

  • Undocumented

    Declaration

    Swift

    public static func getSwiftObject(cObject: OpaquePointer) -> PushNotificationConfig
  • Undocumented

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Gets the app’s bundle identifier for “contact uri parameter”.

    Declaration

    Swift

    public var bundleIdentifier: String { get set }

    Return Value

    The app’s bundle identifier, default value “”.

  • Gets the call_snd for “contact uri parameter”.

    Declaration

    Swift

    public var callSnd: String { get set }

    Return Value

    The call_snd, default value “notes_of_the_optimistic.caf”.

  • Gets the call_str for “contact uri parameter”.

    Declaration

    Swift

    public var callStr: String { get set }

    Return Value

    The call_str, default value “IC_MSG”.

  • Gets the groupchat_str for “contact uri parameter”.

    Declaration

    Swift

    public var groupChatStr: String { get set }

    Return Value

    The groupchat_str, default value “GC_MSG”.

  • Gets the msg_snd for “contact uri parameter”.

    Declaration

    Swift

    public var msgSnd: String { get set }

    Return Value

    The msg_snd, default value “msg.caf”.

  • Gets the msg_str for “contact uri parameter”.

    Declaration

    Swift

    public var msgStr: String { get set }

    Return Value

    The msg_str, default value “IM_MSG”.

  • Gets the param for “contact uri parameter”.

    Declaration

    Swift

    public var param: String { get set }

    Return Value

    The param, default value “”.

  • Gets the prid for “contact uri parameter”.

    Declaration

    Swift

    public var prid: String { get set }

    Return Value

    The prid, default value “”.

  • Gets the provider for “contact uri parameter”.

    Declaration

    Swift

    public var provider: String { get set }

    Return Value

    The provider, default value “”.

  • Gets the remote token for “contact uri parameter”.

    Declaration

    Swift

    public var remoteToken: String { get set }

    Return Value

    The remote token, default value “”.

  • Gets the team id for “contact uri parameter”.

    Declaration

    Swift

    public var teamId: String { get set }

    Return Value

    The team id, default value “ABCD1234”.

  • Gets the voip token for “contact uri parameter”.

    Declaration

    Swift

    public var voipToken: String { get set }

    Return Value

    The voip token, default value “”.

  • Instantiate a new push notification parameters with values from source.

    Declaration

    Swift

    public func clone() -> PushNotificationConfig?

    Return Value

    The newly created PushNotificationConfig object.

  • Checks if two Push Notification Configurations are identical.

    Declaration

    Swift

    public func isEqual(otherConfig: PushNotificationConfig) -> Bool

    Parameters

    otherConfig

    The PushNotificationConfig object to compare to.

    Return Value

    True only if the two configurations are identical.