Defines C-Style ProtectionProfile functions.
Add a new protection engine to the profile.
Configures custom settings, used for feature gating and testing.
Override default async task dispatcher with client's own.
Override default HTTP stack with client's own.
Configures whether or not end user licenses (EULs) will be cached locally.
Sets the session ID that can be used to correlate logs and telemetry.
Create a settings object used to create a protection profile.
Load a profile.
- Parameters
-
profile | Parent profile under which an engine will be added |
settings | Protection engine settings |
engine | [Output] Newly-created protection engine instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
settings | Profile settings |
profile | [Output] Newly-created protection profile instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
mipContext | Global context shared across all profiles |
cacheStorageType | Storage cache configuration |
reserved | Reserved for backwards compatibility - set to nullptr |
consentCallback | Callback object to be used for consent, implemented by client application |
settings | [Output] Newly-created settings instance |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
settings | Profile settings |
sessionId | Session ID that represents the lifetime of a protection profile |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
settings | Profile settings |
canCacheLicenses | Whether or not engine should cache a license when opening protected content |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
settings | Profile settings to which HTTP delegate will be assigned |
httpDelegate | HTTP callback instance implemented by client application |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
settings | Profile settings to which task dispatcher delegate will be assigned |
taskDispatcherDelegate | Task dispatcher callback instance implemented by client application |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure
- Parameters
-
settings | Profile settings |
customSettings | Key/value pairs of custom settings |
errorInfo | [Output] (Optional) Failure info if operation result is error |
- Returns
- Result code indicating success or failure