Methods reference

Notifications

[[NSNotificationCenter defaultCenter] addObserverForName:HTTaskConnectionStatusChangedNotification object:nil queue:nil usingBlock:^(NSNotification * _Nonnull note) {
   NSLog(@"Did receive notification: %@", note);
}];
Notification Description
HTStatusChangedNotification Register to HTStatusChangedNotification to receive notifications about status changes for an ongoing task.
HTTaskConnectionStatusChangedNotification Register to HTTaskConnectionStatusChangedNotification to receive notifications about connection status for an on going task.

Was this helpful? Yes, thanks! Not really

results matching ""

    No results matching ""