UsherSDKNotification

@objc
public enum UsherSDKNotification : Int, StringConvertibleEnum

UsherSDKNotification is an enum that contains all the defined NSNotification names used in UsherAccountSDK.

Remark

When observing for UsherSDKNotification from ObjectiveC, it is recommended to use the NSNotification helper method +(NSString *)nameWithUsherSDKNotification: to get the string value. Do not use the string form of the notification enum.
  • Posted when UsherAccountSDK acquires authentication token from server after login.

    Declaration

    Swift

    case UserDidAuthenticateWithServer = 1
  • Posted when UsherAccountSDK loses authentication token to the server after signing out.

    Declaration

    Swift

    case UserDeauthenticatedWithServer
  • Posted when UsherAccountSDK failed to update the access token, which requires user to log in again.

    Declaration

    Swift

    case UserReLoginRequired
  • Returns the NSNotification.name out of UsherSDKNotification

    Declaration

    Swift

    public var name: NSNotification.Name { get }