blob: 888d9f601db6817ed035571fcbef06f85de7b278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "source.hpp"
#include <mbgl/style/sources/raster_source.hpp>
#include <jni/jni.hpp>
namespace mbgl {
namespace android {
class RasterSource : public Source {
public:
static constexpr auto Name() { return "com/mapbox/mapboxsdk/style/sources/RasterSource"; };
static void registerNative(jni::JNIEnv&);
RasterSource(jni::JNIEnv&, jni::String, jni::Object<>, jni::jint);
RasterSource(jni::JNIEnv&, mbgl::style::Source&, AndroidRendererFrontend&);
~RasterSource();
jni::String getURL(jni::JNIEnv&);
private:
jni::Object<Source> createJavaPeer(jni::JNIEnv&);
}; // class RasterSource
} // namespace android
} // namespace mbgl
|