Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
flutter::RuntimeDelegate Class Referenceabstract

#include <runtime_delegate.h>

Inheritance diagram for flutter::RuntimeDelegate:
flutter::Engine

Public Member Functions

virtual std::string DefaultRouteName ()=0
 
virtual void ScheduleFrame (bool regenerate_layer_trees=true)=0
 
virtual void OnAllViewsRendered ()=0
 
virtual void Render (int64_t view_id, std::unique_ptr< flutter::LayerTree > layer_tree, float device_pixel_ratio)=0
 
virtual void UpdateSemantics (SemanticsNodeUpdates update, CustomAccessibilityActionUpdates actions)=0
 
virtual void HandlePlatformMessage (std::unique_ptr< PlatformMessage > message)=0
 
virtual FontCollectionGetFontCollection ()=0
 
virtual std::shared_ptr< AssetManagerGetAssetManager ()=0
 
virtual void OnRootIsolateCreated ()=0
 
virtual void UpdateIsolateDescription (const std::string isolate_name, int64_t isolate_port)=0
 
virtual void SetNeedsReportTimings (bool value)=0
 
virtual std::unique_ptr< std::vector< std::string > > ComputePlatformResolvedLocale (const std::vector< std::string > &supported_locale_data)=0
 
virtual void RequestDartDeferredLibrary (intptr_t loading_unit_id)=0
 
virtual std::weak_ptr< PlatformMessageHandlerGetPlatformMessageHandler () const =0
 
virtual void SendChannelUpdate (std::string name, bool listening)=0
 
virtual double GetScaledFontSize (double unscaled_font_size, int configuration_id) const =0
 

Protected Member Functions

virtual ~RuntimeDelegate ()
 

Detailed Description

Definition at line 22 of file runtime_delegate.h.

Constructor & Destructor Documentation

◆ ~RuntimeDelegate()

flutter::RuntimeDelegate::~RuntimeDelegate ( )
protectedvirtualdefault

Member Function Documentation

◆ ComputePlatformResolvedLocale()

virtual std::unique_ptr< std::vector< std::string > > flutter::RuntimeDelegate::ComputePlatformResolvedLocale ( const std::vector< std::string > &  supported_locale_data)
pure virtual

Implemented in flutter::Engine.

◆ DefaultRouteName()

virtual std::string flutter::RuntimeDelegate::DefaultRouteName ( )
pure virtual

Implemented in flutter::Engine.

◆ GetAssetManager()

virtual std::shared_ptr< AssetManager > flutter::RuntimeDelegate::GetAssetManager ( )
pure virtual

Implemented in flutter::Engine.

◆ GetFontCollection()

virtual FontCollection & flutter::RuntimeDelegate::GetFontCollection ( )
pure virtual

Implemented in flutter::Engine.

◆ GetPlatformMessageHandler()

virtual std::weak_ptr< PlatformMessageHandler > flutter::RuntimeDelegate::GetPlatformMessageHandler ( ) const
pure virtual

Implemented in flutter::Engine.

◆ GetScaledFontSize()

virtual double flutter::RuntimeDelegate::GetScaledFontSize ( double  unscaled_font_size,
int  configuration_id 
) const
pure virtual

Implemented in flutter::Engine.

◆ HandlePlatformMessage()

virtual void flutter::RuntimeDelegate::HandlePlatformMessage ( std::unique_ptr< PlatformMessage message)
pure virtual

Implemented in flutter::Engine.

◆ OnAllViewsRendered()

virtual void flutter::RuntimeDelegate::OnAllViewsRendered ( )
pure virtual

Implemented in flutter::Engine.

◆ OnRootIsolateCreated()

virtual void flutter::RuntimeDelegate::OnRootIsolateCreated ( )
pure virtual

Implemented in flutter::Engine.

◆ Render()

virtual void flutter::RuntimeDelegate::Render ( int64_t  view_id,
std::unique_ptr< flutter::LayerTree layer_tree,
float  device_pixel_ratio 
)
pure virtual

Implemented in flutter::Engine.

◆ RequestDartDeferredLibrary()

virtual void flutter::RuntimeDelegate::RequestDartDeferredLibrary ( intptr_t  loading_unit_id)
pure virtual

Implemented in flutter::Engine.

◆ ScheduleFrame()

virtual void flutter::RuntimeDelegate::ScheduleFrame ( bool  regenerate_layer_trees = true)
pure virtual

Implemented in flutter::Engine.

◆ SendChannelUpdate()

virtual void flutter::RuntimeDelegate::SendChannelUpdate ( std::string  name,
bool  listening 
)
pure virtual

Implemented in flutter::Engine.

◆ SetNeedsReportTimings()

virtual void flutter::RuntimeDelegate::SetNeedsReportTimings ( bool  value)
pure virtual

Implemented in flutter::Engine.

◆ UpdateIsolateDescription()

virtual void flutter::RuntimeDelegate::UpdateIsolateDescription ( const std::string  isolate_name,
int64_t  isolate_port 
)
pure virtual

Implemented in flutter::Engine.

◆ UpdateSemantics()

virtual void flutter::RuntimeDelegate::UpdateSemantics ( SemanticsNodeUpdates  update,
CustomAccessibilityActionUpdates  actions 
)
pure virtual

Implemented in flutter::Engine.


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