Flutter Engine
flutter::AndroidContext Class Reference

Holds state that is shared across Android surfaces. More...

#include <android_context.h>

Inheritance diagram for flutter::AndroidContext:
flutter::AndroidContextGL

Public Member Functions

 AndroidContext (AndroidRenderingAPI rendering_api)
 
 ~AndroidContext ()
 
AndroidRenderingAPI RenderingApi () const
 
bool IsValid () const
 

Detailed Description

Holds state that is shared across Android surfaces.

Definition at line 21 of file android_context.h.

Constructor & Destructor Documentation

◆ AndroidContext()

flutter::AndroidContext::AndroidContext ( AndroidRenderingAPI  rendering_api)

Definition at line 9 of file android_context.cc.

References ~AndroidContext().

10  : rendering_api_(rendering_api) {}

◆ ~AndroidContext()

flutter::AndroidContext::~AndroidContext ( )
default

Referenced by AndroidContext().

Member Function Documentation

◆ IsValid()

bool flutter::AndroidContext::IsValid ( ) const

Definition at line 18 of file android_context.cc.

18  {
19  return true;
20 }

◆ RenderingApi()

AndroidRenderingAPI flutter::AndroidContext::RenderingApi ( ) const

Definition at line 14 of file android_context.cc.

14  {
15  return rendering_api_;
16 }

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