Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
jni::CJNIXBMCNsdManagerDiscoveryListener Class Referenceabstract

#include <JNIXBMCNsdManagerDiscoveryListener.h>

Inheritance diagram for jni::CJNIXBMCNsdManagerDiscoveryListener:
CZeroconfBrowserAndroidDiscover

Public Member Functions

 CJNIXBMCNsdManagerDiscoveryListener ()
 
 CJNIXBMCNsdManagerDiscoveryListener (const CJNIXBMCNsdManagerDiscoveryListener &other)
 
 CJNIXBMCNsdManagerDiscoveryListener (const jni::jhobject &object)
 
 ~CJNIXBMCNsdManagerDiscoveryListener () override
 
void onDiscoveryStarted (const std::string &serviceType) override=0
 
void onDiscoveryStopped (const std::string &serviceType) override=0
 
void onServiceFound (const CJNINsdServiceInfo &serviceInfo) override=0
 
void onServiceLost (const CJNINsdServiceInfo &serviceInfo) override=0
 
void onStartDiscoveryFailed (const std::string &serviceType, int errorCode) override=0
 
void onStopDiscoveryFailed (const std::string &serviceType, int errorCode) override=0
 

Static Public Member Functions

static void RegisterNatives (JNIEnv *env)
 

Static Protected Member Functions

static void _onDiscoveryStarted (JNIEnv *env, jobject thiz, jstring serviceType)
 
static void _onDiscoveryStopped (JNIEnv *env, jobject thiz, jstring serviceType)
 
static void _onServiceFound (JNIEnv *env, jobject thiz, jobject serviceInfo)
 
static void _onServiceLost (JNIEnv *env, jobject thiz, jobject serviceInfo)
 
static void _onStartDiscoveryFailed (JNIEnv *env, jobject thiz, jstring serviceType, jint errorCode)
 
static void _onStopDiscoveryFailed (JNIEnv *env, jobject thiz, jstring serviceType, jint errorCode)
 

Constructor & Destructor Documentation

◆ CJNIXBMCNsdManagerDiscoveryListener() [1/3]

CJNIXBMCNsdManagerDiscoveryListener::CJNIXBMCNsdManagerDiscoveryListener ( )

◆ CJNIXBMCNsdManagerDiscoveryListener() [2/3]

CJNIXBMCNsdManagerDiscoveryListener::CJNIXBMCNsdManagerDiscoveryListener ( const CJNIXBMCNsdManagerDiscoveryListener & other)

◆ CJNIXBMCNsdManagerDiscoveryListener() [3/3]

jni::CJNIXBMCNsdManagerDiscoveryListener::CJNIXBMCNsdManagerDiscoveryListener ( const jni::jhobject & object)
inlineexplicit

◆ ~CJNIXBMCNsdManagerDiscoveryListener()

CJNIXBMCNsdManagerDiscoveryListener::~CJNIXBMCNsdManagerDiscoveryListener ( )
override

Member Function Documentation

◆ _onDiscoveryStarted()

void CJNIXBMCNsdManagerDiscoveryListener::_onDiscoveryStarted ( JNIEnv * env,
jobject thiz,
jstring serviceType )
staticprotected

◆ _onDiscoveryStopped()

void CJNIXBMCNsdManagerDiscoveryListener::_onDiscoveryStopped ( JNIEnv * env,
jobject thiz,
jstring serviceType )
staticprotected

◆ _onServiceFound()

void CJNIXBMCNsdManagerDiscoveryListener::_onServiceFound ( JNIEnv * env,
jobject thiz,
jobject serviceInfo )
staticprotected

◆ _onServiceLost()

void CJNIXBMCNsdManagerDiscoveryListener::_onServiceLost ( JNIEnv * env,
jobject thiz,
jobject serviceInfo )
staticprotected

◆ _onStartDiscoveryFailed()

void CJNIXBMCNsdManagerDiscoveryListener::_onStartDiscoveryFailed ( JNIEnv * env,
jobject thiz,
jstring serviceType,
jint errorCode )
staticprotected

◆ _onStopDiscoveryFailed()

void CJNIXBMCNsdManagerDiscoveryListener::_onStopDiscoveryFailed ( JNIEnv * env,
jobject thiz,
jstring serviceType,
jint errorCode )
staticprotected

◆ onDiscoveryStarted()

void jni::CJNIXBMCNsdManagerDiscoveryListener::onDiscoveryStarted ( const std::string & serviceType)
overridepure virtual

◆ onDiscoveryStopped()

void jni::CJNIXBMCNsdManagerDiscoveryListener::onDiscoveryStopped ( const std::string & serviceType)
overridepure virtual

◆ onServiceFound()

void jni::CJNIXBMCNsdManagerDiscoveryListener::onServiceFound ( const CJNINsdServiceInfo & serviceInfo)
overridepure virtual

◆ onServiceLost()

void jni::CJNIXBMCNsdManagerDiscoveryListener::onServiceLost ( const CJNINsdServiceInfo & serviceInfo)
overridepure virtual

◆ onStartDiscoveryFailed()

void jni::CJNIXBMCNsdManagerDiscoveryListener::onStartDiscoveryFailed ( const std::string & serviceType,
int errorCode )
overridepure virtual

◆ onStopDiscoveryFailed()

void jni::CJNIXBMCNsdManagerDiscoveryListener::onStopDiscoveryFailed ( const std::string & serviceType,
int errorCode )
overridepure virtual

◆ RegisterNatives()

void CJNIXBMCNsdManagerDiscoveryListener::RegisterNatives ( JNIEnv * env)
static

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