Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
skottie_utils::CustomPropertyManager::MarkerInterceptor Class Referencefinal
Inheritance diagram for skottie_utils::CustomPropertyManager::MarkerInterceptor:
skottie::MarkerObserver SkRefCnt SkRefCntBase

Public Member Functions

 MarkerInterceptor (CustomPropertyManager *mgr)
 
void onMarker (const char name[], float t0, float t1) override
 
virtual void onMarker (const char name[], float t0, float t1)=0
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Detailed Description

Definition at line 84 of file SkottieUtils.cpp.

Constructor & Destructor Documentation

◆ MarkerInterceptor()

skottie_utils::CustomPropertyManager::MarkerInterceptor::MarkerInterceptor ( CustomPropertyManager mgr)
inlineexplicit

Definition at line 86 of file SkottieUtils.cpp.

86: fMgr(mgr) {}

Member Function Documentation

◆ onMarker()

void skottie_utils::CustomPropertyManager::MarkerInterceptor::onMarker ( const char  name[],
float  t0,
float  t1 
)
inlineoverridevirtual

Implements skottie::MarkerObserver.

Definition at line 88 of file SkottieUtils.cpp.

88 {
89 // collect all markers
90 fMgr->fMarkers.push_back({ std::string(name), t0, t1 });
91 }
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

The documentation for this class was generated from the following file: