# Class: SDKProvider

## SDKProvider(modulesManager, frameProvider, sdkAnalytics)

Provides all makeup|SDK modules.

## Constructor

#### new SDKProvider(modulesManager, frameProvider, sdkAnalytics)

##### Parameters:

Name | Type | Description
--- | --- | ---
`modulesManager` | * |
`frameProvider` | FrameProvider |
`sdkAnalytics` | SdkAnalytics | null |

Source:
  - MakeupSDK.js, line 124

### Members

#### cmsMakeupEngine :CmsMakeupEngine|undefined

##### Type:

- CmsMakeupEngine | undefined

Source:
  - MakeupSDK.js, line 138

#### makeupEngine :MakeupEngine|undefined

##### Type:

- MakeupEngine | undefined

Source:
  - MakeupSDK.js, line 136

### Methods

#### GetFrameProvider()

Gets the FrameProvider instance. Use this to pass frames to the makeup engine, skin tone analyzer or face tracker.

Source:
  - MakeupSDK.js, line 160

##### Returns:

FrameProvider instance.

#### GetSessionUUID() → {string}

Gets the session uuid used by the Analytics API.

Source:
  - MakeupSDK.js, line 169

##### Returns:

session uuid.

Type
  string

#### SetLightConditionsBacklightThreshold(backlightThreshold)

Configures face uniformity threshold. Must be set before LightConditionsAnalyzer is created or it will have no effect.

##### Parameters:

Name | Type | Description
--- | --- | ---
`backlightThreshold` | number |

Source:
  - MakeupSDK.js, line 374

#### SetLightConditionsUniformityThreshold(uniformityThreshold)

Configures face uniformity threshold. Must be set before LightConditionsAnalyzer is created or it will have no effect.

##### Parameters:

Name | Type | Description
--- | --- | ---
`uniformityThreshold` | number |

Source:
  - MakeupSDK.js, line 364

#### SetSkinToneTargetQuality(skinToneTargetQuality)

Configures skin tone quality. Must be set before SkinToneAnalyzer. is created or it will have no effect MORE_SPEED: 0(default) MORE_ACCURACY: 1

##### Parameters:

Name | Type | Description
--- | --- | ---
`skinToneTargetQuality` | SkinToneTargetQuality |

Source:
  - MakeupSDK.js, line 270