SubscriptionFacade
public protocol SubscriptionFacadeA class interface that allows you to track the change to an account
- 
                  
                  Subscribes to listening chain objects DeclarationSwift func setSubscribeCallback(completion: @escaping Completion<Bool>)ParameterscompletionCallback which returns status of subscription 
- 
                  
                  Adding a listener to the account change Remark Delegate must be a class DeclarationSwift func subscribeToAccount(nameOrId: String, delegate: SubscribeAccountDelegate)ParametersnameOrIdName or id of the account for which the subscription will be changed delegateThe class that will receive account notifications 
- 
                  
                  Removing a listener to the account change DeclarationSwift func unsubscribeToAccount(nameOrId: String, delegate: SubscribeAccountDelegate)ParametersnameOrIdName or id of the account for which the subscription will be changed delegateThe class that receive account notifications 
- 
                  
                  Adding a listener to the dynamic global properties change Remark Delegate must be a class DeclarationSwift func subscribeToDynamicGlobalProperties(delegate: SubscribeDynamicGlobalPropertiesDelegate)ParametersdelegateThe class that receive change notifications 
- 
                  
                  Removing a listener to the dynamic global properties change DeclarationSwift func unsubscribeToDynamicGlobalProperties()
- 
                  
                  Adding a listener to the block create Remark Delegate must be a class DeclarationSwift func subscribeToBlock(delegate: SubscribeBlockDelegate)ParametersdelegateThe class that receive create notifications 
- 
                  
                  Removing a listener to the block create DeclarationSwift func unsubscribeToBlock()
- 
                  
                  Adding a listener to contracts changes by contracts ids Remark Delegate must be a class DeclarationSwift func subscribeContracts(contractsIds: [String], delegate: SubscribeContractsDelegate)ParameterscontractsIdsIds of the contracts for subscribe delegateThe class that will receive notifications 
- 
                  
                  Removing a listener to the contracts changes DeclarationSwift func unsubscribeToContracts(contractIds: [String], delegate: SubscribeContractsDelegate)ParameterscontractIdsIds of the contracts for unsubscribe delegateThe class that will receive contracts change notifications 
- 
                  
                  Adding a listener to the new contract logs Remark Delegate must be a class DeclarationSwift func subscribeToContractLogs(contractId: String, delegate: SubscribeContractLogsDelegate)ParameterscontractIdId of the contract for which the logs will create delegateThe class that will receive contract logs notifications 
- 
                  
                  Removing a listener to the new contract logs DeclarationSwift func unsubscribeToContractLogs(contractId: String, delegate: SubscribeContractLogsDelegate)ParameterscontractIdId of the contract for which the logs will create delegateThe class that will receive contract logs notifications 
- 
                  
                  Removing all listeners to the account change DeclarationSwift func unsubscribeAll()
 View on GitHub
View on GitHub SubscriptionFacade Protocol Reference
        SubscriptionFacade Protocol Reference