forked from dotnet/java-interop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCallNonvirtualBase.cs
More file actions
33 lines (25 loc) · 808 Bytes
/
CallNonvirtualBase.cs
File metadata and controls
33 lines (25 loc) · 808 Bytes
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
29
30
31
32
using System;
using Java.Interop;
namespace Java.InteropTests
{
[JniTypeSignature (CallNonvirtualBase.JniTypeName)]
public class CallNonvirtualBase : JavaObject
{
internal const string JniTypeName = "com/xamarin/interop/CallNonvirtualBase";
readonly static JniPeerMembers _members = new JniPeerMembers (JniTypeName, typeof (CallNonvirtualBase));
public override JniPeerMembers JniPeerMembers {
get {return _members;}
}
public CallNonvirtualBase ()
{
}
public virtual unsafe void Method ()
{
_members.InstanceMethods.InvokeVirtualVoidMethod ("method.()V", this, null);
}
public bool MethodInvoked {
get {return _members.InstanceFields.GetBooleanValue ("methodInvoked.Z" ,this);}
set {_members.InstanceFields.SetValue ("methodInvoked.Z", this, value);}
}
}
}