Ocean
MediaAndroidJni.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_MEDIA_ANDROID_JNI_MEDIANDROIDJNI_H
9 #define META_OCEAN_MEDIA_ANDROID_JNI_MEDIANDROIDJNI_H
10 
12 
13 /**
14  * Java native interface function to register the media android component.
15  * @param env The JNI environment
16  * @param javaThis The JNI object
17  * @return True, if succeeded
18  * @ingroup mediaandroidjni
19  */
20 extern "C" jboolean Java_com_meta_ocean_media_android_MediaAndroidJni_registerLibrary(JNIEnv* env, jobject javaThis);
21 
22 /**
23  * Java native interface function to unregister the media android component.
24  * @param env The JNI environment
25  * @param javaThis The JNI object
26  * @return True, if succeeded
27  * @ingroup mediaandroidjni
28  */
29 extern "C" jboolean Java_com_meta_ocean_media_android_MediaAndroidJni_unregisterLibrary(JNIEnv* env, jobject javaThis);
30 
31 #endif // META_OCEAN_MEDIA_ANDROID_JNI_MEDIANDROIDJNI_H
jboolean Java_com_meta_ocean_media_android_MediaAndroidJni_unregisterLibrary(JNIEnv *env, jobject javaThis)
Java native interface function to unregister the media android component.
jboolean Java_com_meta_ocean_media_android_MediaAndroidJni_registerLibrary(JNIEnv *env, jobject javaThis)
Java native interface function to register the media android component.