Class VREventShowDevTools

  • All Implemented Interfaces:
    Pointer

    public class VREventShowDevTools
    extends Struct

    Layout

    
     struct VREvent_ShowDevTools_t {
         int32_t nBrowserIdentifier;
     }
    • Field Detail

      • SIZEOF

        public static final int SIZEOF
        The struct size in bytes.
      • ALIGNOF

        public static final int ALIGNOF
        The struct alignment in bytes.
      • NBROWSERIDENTIFIER

        public static final int NBROWSERIDENTIFIER
        The struct member offsets.
    • Constructor Detail

      • VREventShowDevTools

        public VREventShowDevTools​(java.nio.ByteBuffer container)
        Creates a VREventShowDevTools instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.

    • Method Detail

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • nBrowserIdentifier

        public int nBrowserIdentifier()
        Returns the value of the nBrowserIdentifier field.
      • create

        public static VREventShowDevTools create​(long address)
        Returns a new VREventShowDevTools instance for the specified memory address.
      • createSafe

        @Nullable
        public static VREventShowDevTools createSafe​(long address)
        Like create, but returns null if address is NULL.
      • nnBrowserIdentifier

        public static int nnBrowserIdentifier​(long struct)
        Unsafe version of nBrowserIdentifier().