Interface VSAccountManagerDelegate
-
public interface VSAccountManagerDelegateA VSAccountManager instance coordinates access to a subscriber's account.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccountManagerDismissViewController(VSAccountManager accountManager, UIViewController viewController)Called when the account manager is finished using the presented view controller.voidaccountManagerPresentViewController(VSAccountManager accountManager, UIViewController viewController)Called when the account manager needs user interaction to complete a request.default booleanaccountManagerShouldAuthenticateAccountProviderWithIdentifier(VSAccountManager accountManager, java.lang.String accountProviderIdentifier)This method can be used to temporarily refrain from authenticating with an otherwise-supported provider during a transient outage.
-
-
-
Method Detail
-
accountManagerDismissViewController
void accountManagerDismissViewController(VSAccountManager accountManager, UIViewController viewController)
Called when the account manager is finished using the presented view controller.- Parameters:
accountManager- The account manager instance that previously asked to show the view controller.viewController- The view controller that is being presented to the user. You must use -dismissViewControllerAnimated:completion: to begin dismissing the view controller before returning from this method.
-
accountManagerPresentViewController
void accountManagerPresentViewController(VSAccountManager accountManager, UIViewController viewController)
Called when the account manager needs user interaction to complete a request.- Parameters:
accountManager- The account manager instance that needs to show the view controller.viewController- A view controller that needs to be presented to the user. You must use -presentViewController:animated:completion: to begin presenting this view controller before returning from this method.
-
accountManagerShouldAuthenticateAccountProviderWithIdentifier
default boolean accountManagerShouldAuthenticateAccountProviderWithIdentifier(VSAccountManager accountManager, java.lang.String accountProviderIdentifier)
This method can be used to temporarily refrain from authenticating with an otherwise-supported provider during a transient outage. This method will be called when the user chooses a supported provider from the list of providers. If you do not implement this method, the user will be able to authenticate with all supported providers. [@returns] Returning NO will cause the request will fail with an unsupported provider error.- Parameters:
accountManager- The account manager instance that received a metadata request.accountProviderIdentifier- Identifies the otherwise-supported account provider.
-
-