Other Tools

// GENERATED CODE
// Generated by the Java program at /build/annotationProcessors at compile time
// from annotations on Java methods. To update, change the annotations on the
// corresponding Java methods and rerun the build. Manually updating this file
// will cause your build to fail.
#ifndef MOZ_PREPROCESSOR
#include "mozilla/java/GeckoHLSSampleWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char GeckoHLSSample::name[] =
"org/mozilla/gecko/media/GeckoHLSSample";
constexpr char GeckoHLSSample::IsEOS_t::name[];
constexpr char GeckoHLSSample::IsEOS_t::signature[];
auto GeckoHLSSample::IsEOS() const -> bool
{
return mozilla::jni::Method<IsEOS_t>::Call(GeckoHLSSample::mCtx, nullptr);
}
constexpr char GeckoHLSSample::IsKeyFrame_t::name[];
constexpr char GeckoHLSSample::IsKeyFrame_t::signature[];
auto GeckoHLSSample::IsKeyFrame() const -> bool
{
return mozilla::jni::Method<IsKeyFrame_t>::Call(GeckoHLSSample::mCtx, nullptr);
}
constexpr char GeckoHLSSample::WriteToByteBuffer_t::name[];
constexpr char GeckoHLSSample::WriteToByteBuffer_t::signature[];
auto GeckoHLSSample::WriteToByteBuffer(mozilla::jni::ByteBuffer::Param a0) const -> void
{
return mozilla::jni::Method<WriteToByteBuffer_t>::Call(GeckoHLSSample::mCtx, nullptr, a0);
}
constexpr char GeckoHLSSample::CryptoInfo_t::name[];
constexpr char GeckoHLSSample::CryptoInfo_t::signature[];
auto GeckoHLSSample::CryptoInfo() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<CryptoInfo_t>::Get(GeckoHLSSample::mCtx, nullptr);
}
constexpr char GeckoHLSSample::Duration_t::name[];
constexpr char GeckoHLSSample::Duration_t::signature[];
auto GeckoHLSSample::Duration() const -> int64_t
{
return mozilla::jni::Field<Duration_t>::Get(GeckoHLSSample::mCtx, nullptr);
}
auto GeckoHLSSample::Duration(int64_t a0) const -> void
{
return mozilla::jni::Field<Duration_t>::Set(GeckoHLSSample::mCtx, nullptr, a0);
}
constexpr char GeckoHLSSample::FormatIndex_t::name[];
constexpr char GeckoHLSSample::FormatIndex_t::signature[];
auto GeckoHLSSample::FormatIndex() const -> int32_t
{
return mozilla::jni::Field<FormatIndex_t>::Get(GeckoHLSSample::mCtx, nullptr);
}
constexpr char GeckoHLSSample::Info_t::name[];
constexpr char GeckoHLSSample::Info_t::signature[];
auto GeckoHLSSample::Info() const -> mozilla::jni::Object::LocalRef
{
return mozilla::jni::Field<Info_t>::Get(GeckoHLSSample::mCtx, nullptr);
}
} /* java */
} /* mozilla */