Files
k3vinb5_aniyomi_bridge/lib/jmodels/jpage.dart

1127 lines
34 KiB
Dart

// AUTO GENERATED BY JNIGEN 0.14.2. DO NOT EDIT!
// ignore_for_file: annotate_overrides
// ignore_for_file: argument_type_not_assignable
// ignore_for_file: camel_case_extensions
// ignore_for_file: camel_case_types
// ignore_for_file: constant_identifier_names
// ignore_for_file: comment_references
// ignore_for_file: doc_directive_unknown
// ignore_for_file: file_names
// ignore_for_file: inference_failure_on_untyped_parameter
// ignore_for_file: invalid_internal_annotation
// ignore_for_file: invalid_use_of_internal_member
// ignore_for_file: library_prefixes
// ignore_for_file: lines_longer_than_80_chars
// ignore_for_file: no_leading_underscores_for_library_prefixes
// ignore_for_file: no_leading_underscores_for_local_identifiers
// ignore_for_file: non_constant_identifier_names
// ignore_for_file: only_throw_errors
// ignore_for_file: overridden_fields
// ignore_for_file: prefer_double_quotes
// ignore_for_file: unintended_html_in_doc_comment
// ignore_for_file: unnecessary_cast
// ignore_for_file: unnecessary_non_null_assertion
// ignore_for_file: unnecessary_parenthesis
// ignore_for_file: unused_element
// ignore_for_file: unused_field
// ignore_for_file: unused_import
// ignore_for_file: unused_local_variable
// ignore_for_file: unused_shown_name
// ignore_for_file: use_super_parameters
import 'dart:core' show Object, String, bool, double, int;
import 'dart:core' as core$_;
import 'package:jni/_internal.dart' as jni$_;
import 'package:jni/jni.dart' as jni$_;
/// from: `eu.kanade.tachiyomi.source.model.Page$Companion`
class Page$Companion extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<Page$Companion> $type;
@jni$_.internal
Page$Companion.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/source/model/Page$Companion',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $Page$Companion$NullableType();
static const type = $Page$Companion$Type();
static final _id_serializer = _class.instanceMethodId(
r'serializer',
r'()Lkotlinx/serialization/KSerializer;',
);
static final _serializer =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final kotlinx.serialization.KSerializer<eu.kanade.tachiyomi.source.model.Page> serializer()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JObject serializer() {
return _serializer(
reference.pointer,
_id_serializer as jni$_.JMethodIDPtr,
).object<jni$_.JObject>(const jni$_.JObjectType());
}
static final _id_new$ = _class.constructorId(
r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V',
);
static final _new$ =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_NewObject')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `synthetic public void <init>(kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)`
/// The returned object must be released after use, by calling the [release] method.
factory Page$Companion(jni$_.JObject? defaultConstructorMarker) {
final _$defaultConstructorMarker =
defaultConstructorMarker?.reference ?? jni$_.jNullReference;
return Page$Companion.fromReference(
_new$(
_class.reference.pointer,
_id_new$ as jni$_.JMethodIDPtr,
_$defaultConstructorMarker.pointer,
).reference,
);
}
}
final class $Page$Companion$NullableType
extends jni$_.JObjType<Page$Companion?> {
@jni$_.internal
const $Page$Companion$NullableType();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/source/model/Page$Companion;';
@jni$_.internal
@core$_.override
Page$Companion? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : Page$Companion.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
@jni$_.internal
@core$_.override
jni$_.JObjType<Page$Companion?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($Page$Companion$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($Page$Companion$NullableType) &&
other is $Page$Companion$NullableType;
}
}
final class $Page$Companion$Type extends jni$_.JObjType<Page$Companion> {
@jni$_.internal
const $Page$Companion$Type();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/source/model/Page$Companion;';
@jni$_.internal
@core$_.override
Page$Companion fromReference(jni$_.JReference reference) =>
Page$Companion.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
@jni$_.internal
@core$_.override
jni$_.JObjType<Page$Companion?> get nullableType =>
const $Page$Companion$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($Page$Companion$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($Page$Companion$Type) &&
other is $Page$Companion$Type;
}
}
/// from: `eu.kanade.tachiyomi.source.model.Page$State`
class Page$State extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<Page$State> $type;
@jni$_.internal
Page$State.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/source/model/Page$State',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $Page$State$NullableType();
static const type = $Page$State$Type();
static final _id_QUEUE = _class.staticFieldId(
r'QUEUE',
r'Leu/kanade/tachiyomi/source/model/Page$State;',
);
/// from: `static public final eu.kanade.tachiyomi.source.model.Page$State QUEUE`
/// The returned object must be released after use, by calling the [release] method.
static Page$State get QUEUE =>
_id_QUEUE.get(_class, const $Page$State$Type());
static final _id_LOAD_PAGE = _class.staticFieldId(
r'LOAD_PAGE',
r'Leu/kanade/tachiyomi/source/model/Page$State;',
);
/// from: `static public final eu.kanade.tachiyomi.source.model.Page$State LOAD_PAGE`
/// The returned object must be released after use, by calling the [release] method.
static Page$State get LOAD_PAGE =>
_id_LOAD_PAGE.get(_class, const $Page$State$Type());
static final _id_DOWNLOAD_IMAGE = _class.staticFieldId(
r'DOWNLOAD_IMAGE',
r'Leu/kanade/tachiyomi/source/model/Page$State;',
);
/// from: `static public final eu.kanade.tachiyomi.source.model.Page$State DOWNLOAD_IMAGE`
/// The returned object must be released after use, by calling the [release] method.
static Page$State get DOWNLOAD_IMAGE =>
_id_DOWNLOAD_IMAGE.get(_class, const $Page$State$Type());
static final _id_READY = _class.staticFieldId(
r'READY',
r'Leu/kanade/tachiyomi/source/model/Page$State;',
);
/// from: `static public final eu.kanade.tachiyomi.source.model.Page$State READY`
/// The returned object must be released after use, by calling the [release] method.
static Page$State get READY =>
_id_READY.get(_class, const $Page$State$Type());
static final _id_ERROR = _class.staticFieldId(
r'ERROR',
r'Leu/kanade/tachiyomi/source/model/Page$State;',
);
/// from: `static public final eu.kanade.tachiyomi.source.model.Page$State ERROR`
/// The returned object must be released after use, by calling the [release] method.
static Page$State get ERROR =>
_id_ERROR.get(_class, const $Page$State$Type());
static final _id_values = _class.staticMethodId(
r'values',
r'()[Leu/kanade/tachiyomi/source/model/Page$State;',
);
static final _values =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallStaticObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `static public eu.kanade.tachiyomi.source.model.Page$State[] values()`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JArray<Page$State?>? values() {
return _values(
_class.reference.pointer,
_id_values as jni$_.JMethodIDPtr,
).object<jni$_.JArray<Page$State?>?>(
const jni$_.JArrayNullableType<Page$State?>($Page$State$NullableType()),
);
}
static final _id_valueOf = _class.staticMethodId(
r'valueOf',
r'(Ljava/lang/String;)Leu/kanade/tachiyomi/source/model/Page$State;',
);
static final _valueOf =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_CallStaticObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `static public eu.kanade.tachiyomi.source.model.Page$State valueOf(java.lang.String string)`
/// The returned object must be released after use, by calling the [release] method.
static Page$State? valueOf(jni$_.JString? string) {
final _$string = string?.reference ?? jni$_.jNullReference;
return _valueOf(
_class.reference.pointer,
_id_valueOf as jni$_.JMethodIDPtr,
_$string.pointer,
).object<Page$State?>(const $Page$State$NullableType());
}
static final _id_getEntries = _class.staticMethodId(
r'getEntries',
r'()Lkotlin/enums/EnumEntries;',
);
static final _getEntries =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallStaticObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `static public kotlin.enums.EnumEntries<eu.kanade.tachiyomi.source.model.Page$State> getEntries()`
/// The returned object must be released after use, by calling the [release] method.
static jni$_.JObject getEntries() {
return _getEntries(
_class.reference.pointer,
_id_getEntries as jni$_.JMethodIDPtr,
).object<jni$_.JObject>(const jni$_.JObjectType());
}
}
final class $Page$State$NullableType extends jni$_.JObjType<Page$State?> {
@jni$_.internal
const $Page$State$NullableType();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/source/model/Page$State;';
@jni$_.internal
@core$_.override
Page$State? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : Page$State.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
@jni$_.internal
@core$_.override
jni$_.JObjType<Page$State?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($Page$State$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($Page$State$NullableType) &&
other is $Page$State$NullableType;
}
}
final class $Page$State$Type extends jni$_.JObjType<Page$State> {
@jni$_.internal
const $Page$State$Type();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/source/model/Page$State;';
@jni$_.internal
@core$_.override
Page$State fromReference(jni$_.JReference reference) =>
Page$State.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectType();
@jni$_.internal
@core$_.override
jni$_.JObjType<Page$State?> get nullableType =>
const $Page$State$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($Page$State$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($Page$State$Type) && other is $Page$State$Type;
}
}
/// from: `eu.kanade.tachiyomi.source.model.Page`
class JPage extends jni$_.JObject {
@jni$_.internal
@core$_.override
final jni$_.JObjType<JPage> $type;
@jni$_.internal
JPage.fromReference(jni$_.JReference reference)
: $type = type,
super.fromReference(reference);
static final _class = jni$_.JClass.forName(
r'eu/kanade/tachiyomi/source/model/Page',
);
/// The type which includes information such as the signature of this class.
static const nullableType = $Page$NullableType();
static const type = $Page$Type();
static final _id_Companion = _class.staticFieldId(
r'Companion',
r'Leu/kanade/tachiyomi/source/model/Page$Companion;',
);
/// from: `static public final eu.kanade.tachiyomi.source.model.Page$Companion Companion`
/// The returned object must be released after use, by calling the [release] method.
static Page$Companion get Companion =>
_id_Companion.get(_class, const $Page$Companion$Type());
static final _id_new$ = _class.constructorId(
r'(ILjava/lang/String;Ljava/lang/String;Landroid/net/Uri;)V',
);
static final _new$ =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<
(
jni$_.Int32,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
)
>,
)
>
>('globalEnv_NewObject')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
int,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `public void <init>(int i, java.lang.String string, java.lang.String string1, android.net.Uri uri)`
/// The returned object must be released after use, by calling the [release] method.
factory JPage(
int i,
jni$_.JString string,
jni$_.JString? string1,
jni$_.JObject? uri,
) {
final _$string = string.reference;
final _$string1 = string1?.reference ?? jni$_.jNullReference;
final _$uri = uri?.reference ?? jni$_.jNullReference;
return JPage.fromReference(
_new$(
_class.reference.pointer,
_id_new$ as jni$_.JMethodIDPtr,
i,
_$string.pointer,
_$string1.pointer,
_$uri.pointer,
).reference,
);
}
static final _id_new$1 = _class.constructorId(
r'(ILjava/lang/String;Ljava/lang/String;Landroid/net/Uri;ILkotlin/jvm/internal/DefaultConstructorMarker;)V',
);
static final _new$1 =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<
(
jni$_.Int32,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
jni$_.Int32,
jni$_.Pointer<jni$_.Void>,
)
>,
)
>
>('globalEnv_NewObject')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
int,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
int,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `synthetic public void <init>(int i, java.lang.String string, java.lang.String string1, android.net.Uri uri, int i1, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)`
/// The returned object must be released after use, by calling the [release] method.
factory JPage.new$1(
int i,
jni$_.JString? string,
jni$_.JString? string1,
jni$_.JObject? uri,
int i1,
jni$_.JObject? defaultConstructorMarker,
) {
final _$string = string?.reference ?? jni$_.jNullReference;
final _$string1 = string1?.reference ?? jni$_.jNullReference;
final _$uri = uri?.reference ?? jni$_.jNullReference;
final _$defaultConstructorMarker =
defaultConstructorMarker?.reference ?? jni$_.jNullReference;
return JPage.fromReference(
_new$1(
_class.reference.pointer,
_id_new$1 as jni$_.JMethodIDPtr,
i,
_$string.pointer,
_$string1.pointer,
_$uri.pointer,
i1,
_$defaultConstructorMarker.pointer,
).reference,
);
}
static final _id_getIndex = _class.instanceMethodId(r'getIndex', r'()I');
static final _getIndex =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallIntMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final int getIndex()`
int getIndex() {
return _getIndex(
reference.pointer,
_id_getIndex as jni$_.JMethodIDPtr,
).integer;
}
static final _id_getUrl = _class.instanceMethodId(
r'getUrl',
r'()Ljava/lang/String;',
);
static final _getUrl =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final java.lang.String getUrl()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JString getUrl() {
return _getUrl(
reference.pointer,
_id_getUrl as jni$_.JMethodIDPtr,
).object<jni$_.JString>(const jni$_.JStringType());
}
static final _id_getImageUrl = _class.instanceMethodId(
r'getImageUrl',
r'()Ljava/lang/String;',
);
static final _getImageUrl =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final java.lang.String getImageUrl()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JString? getImageUrl() {
return _getImageUrl(
reference.pointer,
_id_getImageUrl as jni$_.JMethodIDPtr,
).object<jni$_.JString?>(const jni$_.JStringNullableType());
}
static final _id_setImageUrl = _class.instanceMethodId(
r'setImageUrl',
r'(Ljava/lang/String;)V',
);
static final _setImageUrl =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `public final void setImageUrl(java.lang.String string)`
void setImageUrl(jni$_.JString? string) {
final _$string = string?.reference ?? jni$_.jNullReference;
_setImageUrl(
reference.pointer,
_id_setImageUrl as jni$_.JMethodIDPtr,
_$string.pointer,
).check();
}
static final _id_getUri = _class.instanceMethodId(
r'getUri',
r'()Landroid/net/Uri;',
);
static final _getUri =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final android.net.Uri getUri()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JObject? getUri() {
return _getUri(
reference.pointer,
_id_getUri as jni$_.JMethodIDPtr,
).object<jni$_.JObject?>(const jni$_.JObjectNullableType());
}
static final _id_setUri = _class.instanceMethodId(
r'setUri',
r'(Landroid/net/Uri;)V',
);
static final _setUri =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `public final void setUri(android.net.Uri uri)`
void setUri(jni$_.JObject? uri) {
final _$uri = uri?.reference ?? jni$_.jNullReference;
_setUri(
reference.pointer,
_id_setUri as jni$_.JMethodIDPtr,
_$uri.pointer,
).check();
}
static final _id_getNumber = _class.instanceMethodId(r'getNumber', r'()I');
static final _getNumber =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallIntMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final int getNumber()`
int getNumber() {
return _getNumber(
reference.pointer,
_id_getNumber as jni$_.JMethodIDPtr,
).integer;
}
static final _id_getStatusFlow = _class.instanceMethodId(
r'getStatusFlow',
r'()Lkotlinx/coroutines/flow/StateFlow;',
);
static final _getStatusFlow =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final kotlinx.coroutines.flow.StateFlow<eu.kanade.tachiyomi.source.model.Page$State> getStatusFlow()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JObject getStatusFlow() {
return _getStatusFlow(
reference.pointer,
_id_getStatusFlow as jni$_.JMethodIDPtr,
).object<jni$_.JObject>(const jni$_.JObjectType());
}
static final _id_getStatus = _class.instanceMethodId(
r'getStatus',
r'()Leu/kanade/tachiyomi/source/model/Page$State;',
);
static final _getStatus =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final eu.kanade.tachiyomi.source.model.Page$State getStatus()`
/// The returned object must be released after use, by calling the [release] method.
Page$State getStatus() {
return _getStatus(
reference.pointer,
_id_getStatus as jni$_.JMethodIDPtr,
).object<Page$State>(const $Page$State$Type());
}
static final _id_setStatus = _class.instanceMethodId(
r'setStatus',
r'(Leu/kanade/tachiyomi/source/model/Page$State;)V',
);
static final _setStatus =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Pointer<jni$_.Void>,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `public final void setStatus(eu.kanade.tachiyomi.source.model.Page$State state)`
void setStatus(Page$State state) {
final _$state = state.reference;
_setStatus(
reference.pointer,
_id_setStatus as jni$_.JMethodIDPtr,
_$state.pointer,
).check();
}
static final _id_getProgressFlow = _class.instanceMethodId(
r'getProgressFlow',
r'()Lkotlinx/coroutines/flow/StateFlow;',
);
static final _getProgressFlow =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallObjectMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final kotlinx.coroutines.flow.StateFlow<java.lang.Integer> getProgressFlow()`
/// The returned object must be released after use, by calling the [release] method.
jni$_.JObject getProgressFlow() {
return _getProgressFlow(
reference.pointer,
_id_getProgressFlow as jni$_.JMethodIDPtr,
).object<jni$_.JObject>(const jni$_.JObjectType());
}
static final _id_getProgress = _class.instanceMethodId(
r'getProgress',
r'()I',
);
static final _getProgress =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>
>('globalEnv_CallIntMethod')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
)
>();
/// from: `public final int getProgress()`
int getProgress() {
return _getProgress(
reference.pointer,
_id_getProgress as jni$_.JMethodIDPtr,
).integer;
}
static final _id_setProgress = _class.instanceMethodId(
r'setProgress',
r'(I)V',
);
static final _setProgress =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Int32,)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
int,
)
>();
/// from: `public final void setProgress(int i)`
void setProgress(int i) {
_setProgress(
reference.pointer,
_id_setProgress as jni$_.JMethodIDPtr,
i,
).check();
}
static final _id_update = _class.instanceMethodId(r'update', r'(JJZ)V');
static final _update =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<(jni$_.Int64, jni$_.Int64, jni$_.Int32)>,
)
>
>('globalEnv_CallVoidMethod')
.asFunction<
jni$_.JThrowablePtr Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
int,
int,
int,
)
>();
/// from: `public void update(long j, long j1, boolean z)`
void update(int j, int j1, bool z) {
_update(
reference.pointer,
_id_update as jni$_.JMethodIDPtr,
j,
j1,
z ? 1 : 0,
).check();
}
static final _id_new$2 = _class.constructorId(
r'(IILjava/lang/String;Ljava/lang/String;Lkotlinx/serialization/internal/SerializationConstructorMarker;)V',
);
static final _new$2 =
jni$_.ProtectedJniExtensions.lookup<
jni$_.NativeFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
jni$_.VarArgs<
(
jni$_.Int32,
jni$_.Int32,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
)
>,
)
>
>('globalEnv_NewObject')
.asFunction<
jni$_.JniResult Function(
jni$_.Pointer<jni$_.Void>,
jni$_.JMethodIDPtr,
int,
int,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
jni$_.Pointer<jni$_.Void>,
)
>();
/// from: `synthetic public void <init>(int i, int i1, java.lang.String string, java.lang.String string1, kotlinx.serialization.internal.SerializationConstructorMarker serializationConstructorMarker)`
/// The returned object must be released after use, by calling the [release] method.
factory JPage.new$2(
int i,
int i1,
jni$_.JString? string,
jni$_.JString? string1,
jni$_.JObject? serializationConstructorMarker,
) {
final _$string = string?.reference ?? jni$_.jNullReference;
final _$string1 = string1?.reference ?? jni$_.jNullReference;
final _$serializationConstructorMarker =
serializationConstructorMarker?.reference ?? jni$_.jNullReference;
return JPage.fromReference(
_new$2(
_class.reference.pointer,
_id_new$2 as jni$_.JMethodIDPtr,
i,
i1,
_$string.pointer,
_$string1.pointer,
_$serializationConstructorMarker.pointer,
).reference,
);
}
}
final class $Page$NullableType extends jni$_.JObjType<JPage?> {
@jni$_.internal
const $Page$NullableType();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/source/model/Page;';
@jni$_.internal
@core$_.override
JPage? fromReference(jni$_.JReference reference) =>
reference.isNull ? null : JPage.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<JPage?> get nullableType => this;
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($Page$NullableType).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($Page$NullableType) &&
other is $Page$NullableType;
}
}
final class $Page$Type extends jni$_.JObjType<JPage> {
@jni$_.internal
const $Page$Type();
@jni$_.internal
@core$_.override
String get signature => r'Leu/kanade/tachiyomi/source/model/Page;';
@jni$_.internal
@core$_.override
JPage fromReference(jni$_.JReference reference) =>
JPage.fromReference(reference);
@jni$_.internal
@core$_.override
jni$_.JObjType get superType => const jni$_.JObjectNullableType();
@jni$_.internal
@core$_.override
jni$_.JObjType<JPage?> get nullableType => const $Page$NullableType();
@jni$_.internal
@core$_.override
final superCount = 1;
@core$_.override
int get hashCode => ($Page$Type).hashCode;
@core$_.override
bool operator ==(Object other) {
return other.runtimeType == ($Page$Type) && other is $Page$Type;
}
}