PresenceActivity

public class PresenceActivity : LinphoneObject

Presence activity type holding information about a presence activity.

  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    public var getCobject: OpaquePointer? { get }
  • Sets the description of a presence activity.

    Declaration

    Swift

    public var description: String { get }

    Parameters

    description

    An additional description of the activity. Can be nil if no additional description is to be added.

    Return Value

    A pointer to the description string of the presence activity, or nil if no description is specified.

  • Undocumented

    Declaration

    Swift

    public func setDescription(newValue: String) throws
  • Sets the type of activity of a presence activity.

    Declaration

    Swift

    public var type: PresenceActivityType { get }

    Parameters

    acttype

    The PresenceActivityType to set for the activity.

    Return Value

    The PresenceActivityType of the activity.

  • Undocumented

    Declaration

    Swift

    public func setType(newValue: PresenceActivityType) throws
  • Sets the user data of a PresenceActivity object.

    Declaration

    Swift

    public var userData: UnsafeMutableRawPointer? { get set }

    Parameters

    userData

    A pointer to the user data to set.
    Gets the user data of a PresenceActivity object.

    Return Value

    A pointer to the user data.

  • Gets the string representation of a presence activity.

    Declaration

    Swift

    public func toString() -> String

    Return Value

    A pointer a dynamically allocated string representing the given activity.
    The returned string is to be freed by calling ms_free().