The open source OpenXR runtime
1// Copyright 2020-2021, Collabora, Ltd.
2// SPDX-License-Identifier: BSL-1.0
3// Author: Rylie Pavlik <rylie.pavlik@collabora.com>
4
5#include "android.widget.h"
6
7namespace wrap {
8namespace android::widget {
9Toast::Meta::Meta()
10 : MetaBase(Toast::getTypeName()), LENGTH_LONG(classRef(), "LENGTH_LONG"),
11 LENGTH_SHORT(classRef(), "LENGTH_SHORT"),
12 show(classRef().getMethod("show", "()V")),
13 makeText(classRef().getStaticMethod(
14 "makeText", "(Landroid/content/Context;Ljava/lang/"
15 "CharSequence;I)Landroid/widget/Toast;")),
16 makeText1(classRef().getStaticMethod(
17 "makeText", "(Landroid/content/Context;II)Landroid/widget/Toast;")) {}
18} // namespace android::widget
19} // namespace wrap