2019-02-28 13:54:29 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright 2019 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.
|
|
|
|
|
*/
|
2023-04-28 14:10:37 +08:00
|
|
|
#ifndef SDK_ANDROID_NATIVE_API_JNI_APPLICATION_CONTEXT_PROVIDER_H_
|
|
|
|
|
#define SDK_ANDROID_NATIVE_API_JNI_APPLICATION_CONTEXT_PROVIDER_H_
|
2019-02-28 13:54:29 +01:00
|
|
|
|
2023-04-28 14:10:37 +08:00
|
|
|
#include "sdk/android/native_api/jni/scoped_java_ref.h"
|
2019-02-28 13:54:29 +01:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
2023-04-28 14:10:37 +08:00
|
|
|
ScopedJavaLocalRef<jobject> GetAppContext(JNIEnv* jni);
|
2019-02-28 13:54:29 +01:00
|
|
|
|
|
|
|
|
} // namespace webrtc
|
|
|
|
|
|
2023-04-28 14:10:37 +08:00
|
|
|
#endif // SDK_ANDROID_NATIVE_API_JNI_APPLICATION_CONTEXT_PROVIDER_H_
|