java.lang.Object
me.alexdevs.classicPeripherals.peripherals.nfc.luaApi.PocketNfcAPI
All Implemented Interfaces:
dan200.computercraft.api.lua.ILuaAPI

public class PocketNfcAPI extends Object implements dan200.computercraft.api.lua.ILuaAPI
  • Constructor Details

    • PocketNfcAPI

      public PocketNfcAPI(dan200.computercraft.api.pocket.IPocketAccess pocket)
  • Method Details

    • getNames

      public String @NonNull [] getNames()
      Specified by:
      getNames in interface dan200.computercraft.api.lua.ILuaAPI
    • getModuleName

      public String getModuleName()
      Specified by:
      getModuleName in interface dan200.computercraft.api.lua.ILuaAPI
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in interface dan200.computercraft.api.lua.ILuaAPI
    • write

      @LuaFunction public final void write(@Nullable @Nullable String data)
    • setPrivateKey

      @LuaFunction public final void setPrivateKey(@Nullable @Nullable String privateKey) throws dan200.computercraft.api.lua.LuaException
      Throws:
      dan200.computercraft.api.lua.LuaException
    • pop

      @LuaFunction @Nullable public final @Nullable String pop()