SFUserAccountManagerDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | SFUserAccountManager.h |
– userAccountManagerIsNetworkAvailable:
Called when the account manager wants to determine if the network is available.
- (BOOL)userAccountManagerIsNetworkAvailable:(SFUserAccountManager *)userAccountManagerParameters
userAccountManager |
The instance of SFUserAccountManager making the call. |
|---|
Return Value
YES if the network is available, NO otherwise
Declared In
SFUserAccountManager.h
– userAccountManager:error:info:
The instance of SFUserAccountManager
- (BOOL)userAccountManager:(SFUserAccountManager *)userAccountManager error:(NSError *)error info:(SFOAuthInfo *)infoParameters
userAccountManager |
The instance of SFUserAccountManager |
|---|---|
error |
The Error that occurred |
info |
The info for the auth request |
Return Value
YES if the error has been handled by the delegate. SDK will attempt to handle the error if the result is NO.
Declared In
SFUserAccountManager.h
– userAccountManager:willSwitchFromUser:toUser:
Called before the user account manager switches from one user to another.
- (void)userAccountManager:(SFUserAccountManager *)userAccountManager willSwitchFromUser:(SFUserAccount *)currentUserAccount toUser:(nullable SFUserAccount *)anotherUserAccountParameters
userAccountManager |
The SFUserAccountManager instance making the switch. |
|---|---|
currentUserAccount |
The user being switched away from. |
anotherUserAccount |
The user to be switched to. |
Declared In
SFUserAccountManager.h
– userAccountManager:didSwitchFromUser:toUser:
Called after the user account manager switches from one user to another.
- (void)userAccountManager:(SFUserAccountManager *)userAccountManager didSwitchFromUser:(SFUserAccount *)previousUserAccount toUser:(nullable SFUserAccount *)currentUserAccountParameters
userAccountManager |
The SFUserAccountManager instance making the switch. |
|---|---|
previousUserAccount |
The user that was switched away from. |
currentUserAccount |
The user that was switched to. |
Declared In
SFUserAccountManager.h