makeup|SDK makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.

Loading...
Searching...
No Matches
Instance Methods | List of all members
<IMakeupObserver> Protocol Reference

`#import <IMakeupObserver.h>`

## Instance Methods
(void) | - OnStart:
(void) | - OnEffectCreated:sender:
(void) | - OnEffectUpdated:sender:
(void) | - OnEffectRemoved:sender:
(void) | - OnEffectHidden:sender:
(void) | - OnEffectDisplayed:sender:
(void) | - OnClear:

## Detailed Description

Protocol. Exposes events triggered by MakeupEngine. The API client should implement this protocol in order to receve notifications from the engine.

## Method Documentation

## ◆ OnClear:

- (void) OnClear: |  | (MakeupEngine *) | sender |

Triggered when makeup features are cleared.

Parameters

  sender | an instance of makeup engine

## ◆ OnEffectCreated:sender:

- (void) OnEffectCreated: |  | (MakeupEngine *) |
sender: |  | (Effect *) | effect

Triggered when queried makeup feature is created.

Parameters

  sender | an instance of makeup engine
  effect | created effect

## ◆ OnEffectDisplayed:sender:

- (void) OnEffectDisplayed: |  | (MakeupEngine *) |
sender: |  | (Effect *) | effect

Triggered when makeup feature is displayed.

Parameters

  sender | an instance of makeup engine
  effect | displayed effect

## ◆ OnEffectHidden:sender:

- (void) OnEffectHidden: |  | (MakeupEngine *) |
sender: |  | (Effect *) | effect

Triggered when makeup feature is hidden.

Parameters

  sender | an instance of makeup engine
  effect | hidden effect

## ◆ OnEffectRemoved:sender:

- (void) OnEffectRemoved: |  | (MakeupEngine *) |
sender: |  | (Effect *) | effect

Triggered when makeup feature is removed.

Parameters

  sender | an instance of makeup engine
  effect | removed effect

## ◆ OnEffectUpdated:sender:

- (void) OnEffectUpdated: |  | (MakeupEngine *) |
sender: |  | (Effect *) | effect

Triggered when makeup feature is updated.

Parameters

  sender | an instance of makeup engine
  effect | updated effect

## ◆ OnStart:

- (void) OnStart: |  | (MakeupEngine *) | sender |

Triggered when the application is started.

Parameters

  sender | an instance of makeup engine