JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::SurfaceHolderCallback Struct Referenceabstract

#include <juce_android_JNIHelpers.h>

Inheritance diagram for juce::SurfaceHolderCallback:
Collaboration diagram for juce::SurfaceHolderCallback:

Public Member Functions

virtual ~SurfaceHolderCallback () override=default
 
virtual void surfaceChanged (LocalRef< jobject > holder, int format, int width, int height)=0
 
virtual void surfaceCreated (LocalRef< jobject > holder)=0
 
virtual void surfaceDestroyed (LocalRef< jobject > holder)=0
 

Protected Member Functions

void clear ()
 

Private Member Functions

jobject invoke (jobject proxy, jobject method, jobjectArray args) override
 

Private Attributes

GlobalRef invocationHandler
 
GlobalRef javaSubClass
 

Constructor & Destructor Documentation

◆ ~SurfaceHolderCallback()

virtual juce::SurfaceHolderCallback::~SurfaceHolderCallback ( )
overridevirtualdefault

Member Function Documentation

◆ clear()

void juce::AndroidInterfaceImplementer::clear ( )
protectedinherited

◆ invoke()

jobject juce::SurfaceHolderCallback::invoke ( jobject  proxy,
jobject  method,
jobjectArray  args 
)
inlineoverrideprivatevirtual

◆ surfaceChanged()

virtual void juce::SurfaceHolderCallback::surfaceChanged ( LocalRef< jobject >  holder,
int  format,
int  width,
int  height 
)
pure virtual

Implemented in juce::OpenGLContext::NativeContext.

Referenced by invoke().

◆ surfaceCreated()

virtual void juce::SurfaceHolderCallback::surfaceCreated ( LocalRef< jobject >  holder)
pure virtual

Implemented in juce::OpenGLContext::NativeContext.

Referenced by invoke().

◆ surfaceDestroyed()

virtual void juce::SurfaceHolderCallback::surfaceDestroyed ( LocalRef< jobject >  holder)
pure virtual

Implemented in juce::OpenGLContext::NativeContext.

Referenced by invoke().

Member Data Documentation

◆ invocationHandler

GlobalRef juce::AndroidInterfaceImplementer::invocationHandler
privateinherited

◆ javaSubClass

GlobalRef juce::AndroidInterfaceImplementer::javaSubClass
privateinherited

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