DefaultSudoPrivacyInteractionClient

public class DefaultSudoPrivacyInteractionClient : SudoPrivacyInteractionClient

Default client API endpoint for interacting with the Privacy Interaction service.

Lifecycle

  • Initialize a DefaultSudoPrivacyInteractionClient.

    Resolves the Privacy Interaction SudoApiClient from the shared SudoApiClientManager using the service configuration in sudoplatformconfig.json.

    Throws

    SudoPrivacyInteractionError.invalidConfig if the service configuration is missing.

    Declaration

    Swift

    public convenience init(
        userClient: SudoUserClient,
        logger: SudoLogging.Logger = .privacyInteractionSDKLogger
    ) throws

    Parameters

    userClient

    Client used to determine the signed-in state of the user.

    logger

    Logger used for diagnostic and error information.

  • Designated initializer.

    Declaration

    Swift

    public init(
        userClient: SudoUserClient,
        graphQLClient: SudoApiClient,
        logger: SudoLogging.Logger = .privacyInteractionSDKLogger
    )

    Parameters

    userClient

    Client used to determine the signed-in state of the user.

    graphQLClient

    Client used to make GraphQL requests to the Privacy Interaction service.

    logger

    Logger used for diagnostic and error information.

  • reset() Asynchronous

    Declaration

    Swift

    public func reset() async throws

Virtual Presences

Data Holders

Analysis Results

Organization Analysis

Provider Configuration

Actions

Rescan

Subscriptions