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

Loading...
Searching...
No Matches
Public Member Functions | List of all members
com.visagetechnologies.makeupsdk.IApplicationLifecycleHandler Class Reference

## Public Member Functions
void | onResume ()
void | onDestroy ()
void | onPause ()
void | onConfigurationChanged (Configuration newConfig)
void | onWindowFocusChanged (boolean hasFocus)

## Detailed Description

Used to forward platform specific lifecycle events to MakeupEngine. The user is responsible to invoke the methods of this class when appropriate lifecycle event is raised by the OS.

## Member Function Documentation

## ◆ onConfigurationChanged()

void com.visagetechnologies.makeupsdk.IApplicationLifecycleHandler.onConfigurationChanged | ( | Configuration | newConfig | ) |
| inline

Invoke when Activity::onConfigurationChanged event is invoked.

Parameters

  newConfig | configuration passed through Activity::onConfigurationChanged

## ◆ onDestroy()

void com.visagetechnologies.makeupsdk.IApplicationLifecycleHandler.onDestroy | ( |  | ) |
| inline

Invoke when Activity::onDestroy event is invoked.

## ◆ onPause()

void com.visagetechnologies.makeupsdk.IApplicationLifecycleHandler.onPause | ( |  | ) |
| inline

Invoke when Activity::onPause event is invoked.

## ◆ onResume()

void com.visagetechnologies.makeupsdk.IApplicationLifecycleHandler.onResume | ( |  | ) |
| inline

Invoke when Activity::onResume event is invoked.

## ◆ onWindowFocusChanged()

void com.visagetechnologies.makeupsdk.IApplicationLifecycleHandler.onWindowFocusChanged | ( | boolean | hasFocus | ) |
| inline

Invoke when Activity::onWindowFocusChanged event is invoked.

Parameters

  hasFocus | focus passed through Activity::onWindowFocusChanged, true if window has focus, false otherwise