TNEntityClient

@objcMembers
public final class TNEntityClient : NSObject

Main class for SDK. Can be used as static. Before use initialize it with initialize(_ sdkOptions: TNEntitySDKOptions) -> Bool

  • Initialize SDK with provided set of Options

    This method is required for SDK functioning properly.

    Declaration

    Swift

    @discardableResult
    public class func initialize(_ sdkOptions: TNEntitySDKOptions) -> Bool

    Parameters

    sdkOptions

    Object that contains set of properties for initializing SDK

    Return Value

    Returns true if the option provided allows the SDK to be initiated correctly.

  • Resets Api Key and Api Secret. Sets state of SDK to unusable

    Declaration

    Swift

    public class func reset()

Requests