Platforms to show: All Mac Windows Linux Cross-Platform
Back to JavaObjectMBS class.
JavaObjectMBS.GetDirectBufferAddress(directbuffer as JavaObjectMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns 0 on any error.
JavaObjectMBS.GetDirectBufferCapacity(directbuffer as JavaObjectMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns 0 on any error.
JavaObjectMBS.IntField(TheField as JavaFieldMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Do not use for static fields!
(Read and Write computed property)
Some examples using this property:
JavaObjectMBS.IsInstanceOf(TheClass as JavaClassMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true if obj can be cast to TheClass; otherwise, returns false. A nil object can be cast to any class.
JavaObjectMBS.IsSameObject(obj as JavaObjectMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns true if ref1 and ref2 refer to the same Java object, or are both nil; otherwise, returns false.
False on any error.
JavaObjectMBS.LongField(TheField as JavaFieldMBS) as Int64
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Java | MBS Java Plugin | 11.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Do not use for static fields!
(Read and Write computed property)
JavaObjectMBS.ObjectClass as JavaClassMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Returns nil on any error.
JavaObjectMBS.ObjectField(TheField as JavaFieldMBS) as JavaObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Do not use for static fields!
(Read and Write computed property)
JavaObjectMBS.ShortField(TheField as JavaFieldMBS) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Java | MBS Java Plugin | 4.3 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Do not use for static fields!
(Read and Write computed property)
The items on this page are in the following plugins: MBS Java Plugin.