subscribeTo (method)

Use this method to subscribe to another entity's presence.

Syntax

- (void)subscribeTo:(NSString*)jabberId;
public func subscribeTo(_ jabberId: String) throws -> Void

Remarks

This method will send a request for a subscription to JabberId's presence. If the entity allows the subscription, a new item will be stored in the buddy list with the appropriate subscription type. Otherwise, no change will take place.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 iOS Edition - Version 20.0 [Build 8265]