Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 = void, typename... Args, ValidInterfaceType< Interface > = true>
auto callInterface (const char *func, Args... args)

Static Public Member Functions

static bool registerNatives ()

Detailed Description

Definition at line 76 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 96 of file androidbackendregister.h.

Member Function Documentation

◆ callInterface()

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

Definition at line 110 of file androidbackendregister.h.

◆ getInterface()

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

Definition at line 89 of file androidbackendregister.h.

◆ registerNatives()

bool AndroidBackendRegister::registerNatives ( )
static

Definition at line 14 of file androidbackendregister.cpp.


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