Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CZeroconfBrowserAndroidDiscover Class Reference

#include <ZeroconfBrowserAndroid.h>

Inheritance diagram for CZeroconfBrowserAndroidDiscover:
jni::CJNIXBMCNsdManagerDiscoveryListener

Public Member Functions

 CZeroconfBrowserAndroidDiscover (CZeroconfBrowserAndroid *browser)
 
bool IsActive ()
 
void onDiscoveryStarted (const std::string &serviceType) override
 
void onDiscoveryStopped (const std::string &serviceType) override
 
void onServiceFound (const jni::CJNINsdServiceInfo &serviceInfo) override
 
void onServiceLost (const jni::CJNINsdServiceInfo &serviceInfo) override
 
void onStartDiscoveryFailed (const std::string &serviceType, int errorCode) override
 
void onStopDiscoveryFailed (const std::string &serviceType, int errorCode) override
 
- Public Member Functions inherited from jni::CJNIXBMCNsdManagerDiscoveryListener
 CJNIXBMCNsdManagerDiscoveryListener ()
 
 CJNIXBMCNsdManagerDiscoveryListener (const CJNIXBMCNsdManagerDiscoveryListener &other)
 
 CJNIXBMCNsdManagerDiscoveryListener (const jni::jhobject &object)
 
 ~CJNIXBMCNsdManagerDiscoveryListener () override
 
void onServiceFound (const CJNINsdServiceInfo &serviceInfo) override=0
 
void onServiceLost (const CJNINsdServiceInfo &serviceInfo) override=0
 

Protected Attributes

CZeroconfBrowserAndroidm_browser
 
bool m_isActive = false
 

Additional Inherited Members

- Static Public Member Functions inherited from jni::CJNIXBMCNsdManagerDiscoveryListener
static void RegisterNatives (JNIEnv *env)
 
- Static Protected Member Functions inherited from jni::CJNIXBMCNsdManagerDiscoveryListener
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

◆ CZeroconfBrowserAndroidDiscover()

CZeroconfBrowserAndroidDiscover::CZeroconfBrowserAndroidDiscover ( CZeroconfBrowserAndroid * browser)
explicit

Member Function Documentation

◆ IsActive()

bool CZeroconfBrowserAndroidDiscover::IsActive ( )
inline

◆ onDiscoveryStarted()

void CZeroconfBrowserAndroidDiscover::onDiscoveryStarted ( const std::string & serviceType)
overridevirtual

◆ onDiscoveryStopped()

void CZeroconfBrowserAndroidDiscover::onDiscoveryStopped ( const std::string & serviceType)
overridevirtual

◆ onServiceFound()

void CZeroconfBrowserAndroidDiscover::onServiceFound ( const jni::CJNINsdServiceInfo & serviceInfo)
override

◆ onServiceLost()

void CZeroconfBrowserAndroidDiscover::onServiceLost ( const jni::CJNINsdServiceInfo & serviceInfo)
override

◆ onStartDiscoveryFailed()

void CZeroconfBrowserAndroidDiscover::onStartDiscoveryFailed ( const std::string & serviceType,
int errorCode )
overridevirtual

◆ onStopDiscoveryFailed()

void CZeroconfBrowserAndroidDiscover::onStopDiscoveryFailed ( const std::string & serviceType,
int errorCode )
overridevirtual

Member Data Documentation

◆ m_browser

CZeroconfBrowserAndroid* CZeroconfBrowserAndroidDiscover::m_browser
protected

◆ m_isActive

bool CZeroconfBrowserAndroidDiscover::m_isActive = false
protected

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