AirshipContactProtocol
public protocol AirshipContactProtocol : AirshipBaseContactProtocol
Airship contact. A contact is distinct from a channel and represents a “user” within Airship. Contacts may be named and have channels associated with it.
-
namedUserID
AsynchronousCurrent named user ID
Declaration
Swift
var namedUserID: String? { get async }
-
The named user ID current value publisher.
Declaration
Swift
var namedUserIDPublisher: AnyPublisher<String?, Never> { get }
-
Conflict event publisher
Declaration
Swift
var conflictEventPublisher: AnyPublisher<ContactConflictEvent, Never> { get }
-
Notifies any edits to the subscription lists.
Declaration
Swift
var subscriptionListEdits: AnyPublisher<ScopedSubscriptionListEdit, Never> { get }
-
fetchSubscriptionLists()
AsynchronousFetches subscription lists.
Declaration
Swift
func fetchSubscriptionLists() async throws -> [String : [ChannelScope]]
Return Value
Subscriptions lists.