LinkManager

public class LinkManager

Undocumented

  • Opt the user in to use the loyalty coin.

    Declaration

    Swift

    public func linkUser(user: String, completion: LinkCompletion?)

    Parameters

    user

    The user to opt into the loyalty coin.

    completion

    The closure called – success or failure with error.

  • Link the current user with the installed PhunCoin Wallet app.

    Declaration

    Swift

    public func linkWallet(completion: LinkCompletion?)

    Parameters

    completion

    The closure called – success or failure with error.

  • Reset all the user’s loyalty coin information. This is for internal use only.

    Declaration

    Swift

    public func resetUser(completion: LinkCompletion?)

    Parameters

    completion

    The closure called – success or failure with error.