Ocean
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
11
#include "
ocean/network/jni/JNI.h
"
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
*/
21
extern
"C"
jboolean
Java_com_meta_ocean_network_NetworkJni_setCurrentLocalIPAddress
(JNIEnv* env, jobject javaThis, jint localIPAddress);
22
23
#endif
// META_OCEAN_NETWORK_JNI_NETWORKJNI_H
Java_com_meta_ocean_network_NetworkJni_setCurrentLocalIPAddress
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.
JNI.h
impl
ocean
network
jni
NetworkJni.h
Generated on Thu Nov 14 2024 06:04:23 for Ocean by
1.9.1