Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
AndroidBackendRegister Class Reference

#include <androidbackendregister.h>

+ Collaboration diagram for AndroidBackendRegister:

Public Types

template<typename Object >
using IsObjectType
 

Public Member Functions

template<typename T , ValidInterfaceType< T > = true>
getInterface ()
 
template<typename Interface , typename Ret , typename... Args, ValidInterfaceType< Interface > = true>
auto callInterface (const char *func, Args... args)
 

Static Public Member Functions

static bool registerNatives ()
 

Detailed Description

Definition at line 25 of file androidbackendregister.h.

Member Typedef Documentation

◆ IsObjectType

template<typename Object >
using AndroidBackendRegister::IsObjectType
Initial value:
typename std::disjunction<std::is_base_of<QJniObject, Object>,
std::is_base_of<QtJniTypes::JObjectBase, Object>>

Definition at line 38 of file androidbackendregister.h.

Member Function Documentation

◆ callInterface()

template<typename Interface , typename Ret , typename... Args, ValidInterfaceType< Interface > = true>
auto AndroidBackendRegister::callInterface ( const char * func,
Args... args )
inline

Definition at line 44 of file androidbackendregister.h.

References args.

◆ getInterface()

template<typename T , ValidInterfaceType< T > = true>
T AndroidBackendRegister::getInterface ( )
inline

Definition at line 31 of file androidbackendregister.h.

References lock, and QMap< Key, T >::value().

+ Here is the call graph for this function:

◆ registerNatives()

bool AndroidBackendRegister::registerNatives ( )
static

Definition at line 14 of file androidbackendregister.cpp.

Referenced by JNI_OnLoad().

+ Here is the caller graph for this function:

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