blob: a9c8f2609aacb7679ef593f0a3ce2ab5e58c1d40 [file] [log] [blame]
/*
* Copyright 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef SDK_ANDROID_SRC_JNI_PC_CRYPTO_OPTIONS_H_
#define SDK_ANDROID_SRC_JNI_PC_CRYPTO_OPTIONS_H_
#include <jni.h>
#include "absl/types/optional.h"
#include "api/crypto/crypto_options.h"
#include "sdk/android/native_api/jni/scoped_java_ref.h"
namespace webrtc {
namespace jni {
absl::optional<CryptoOptions> JavaToNativeOptionalCryptoOptions(
JNIEnv* jni,
const JavaRef<jobject>& j_crypto_options);
} // namespace jni
} // namespace webrtc
#endif // SDK_ANDROID_SRC_JNI_PC_CRYPTO_OPTIONS_H_