Ocean
Loading...
Searching...
No Matches
NetworkJni.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_NETWORK_JNI_NETWORKJNI_H
9#define META_OCEAN_NETWORK_JNI_NETWORKJNI_H
10
12
13/**
14 * Java native interface function to set the current local IP address.
15 * @param env The JNI environment, must be valid
16 * @param javaThis The NetworkJni JNI object
17 * @param localIPAddress The current local IP address, in big endian notation
18 * @return True, if succeeded
19 * @ingroup platformandroid
20 */
21extern "C" jboolean Java_com_meta_ocean_network_NetworkJni_setCurrentLocalIPAddress(JNIEnv* env, jobject javaThis, jint localIPAddress);
22
23#endif // META_OCEAN_NETWORK_JNI_NETWORKJNI_H
jboolean Java_com_meta_ocean_network_NetworkJni_setCurrentLocalIPAddress(JNIEnv *env, jobject javaThis, jint localIPAddress)
Java native interface function to set the current local IP address.