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/SessionKeyInfoWrappers.h"
#include "mozilla/jni/Accessors.h"
#endif
namespace mozilla {
namespace java {
const char SessionKeyInfo::name[] =
"org/mozilla/gecko/media/SessionKeyInfo";
constexpr char SessionKeyInfo::New_t::name[];
constexpr char SessionKeyInfo::New_t::signature[];
auto SessionKeyInfo::New(mozilla::jni::ByteArray::Param a0, int32_t a1) -> SessionKeyInfo::LocalRef
{
return mozilla::jni::Constructor<New_t>::Call(SessionKeyInfo::Context(), nullptr, a0, a1);
}
constexpr char SessionKeyInfo::KeyId_t::name[];
constexpr char SessionKeyInfo::KeyId_t::signature[];
auto SessionKeyInfo::KeyId() const -> mozilla::jni::ByteArray::LocalRef
{
return mozilla::jni::Field<KeyId_t>::Get(SessionKeyInfo::mCtx, nullptr);
}
auto SessionKeyInfo::KeyId(mozilla::jni::ByteArray::Param a0) const -> void
{
return mozilla::jni::Field<KeyId_t>::Set(SessionKeyInfo::mCtx, nullptr, a0);
}
constexpr char SessionKeyInfo::Status_t::name[];
constexpr char SessionKeyInfo::Status_t::signature[];
auto SessionKeyInfo::Status() const -> int32_t
{
return mozilla::jni::Field<Status_t>::Get(SessionKeyInfo::mCtx, nullptr);
}
auto SessionKeyInfo::Status(int32_t a0) const -> void
{
return mozilla::jni::Field<Status_t>::Set(SessionKeyInfo::mCtx, nullptr, a0);
}
} /* java */
} /* mozilla */