com.io7m.smfj.parser.api

## Interface SMFParserEventsDataMetaOptionalSupplierType

- All Known Subinterfaces:
    SMFParserEventsBodyType
  All Known Implementing Classes:
    SMFByteBufferPackedMeshes, SMFFCopier, SMFMemoryMeshProducer

      public interface SMFParserEventsDataMetaOptionalSupplierType

  A function that may supply a metadata listener on request.

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SMFParserEventsDataMetaOptionalSupplierType` | `ignoring()` A supplier that has the effect of ignoring all metadata.
    `Optional<SMFParserEventsDataMetaType>` | `onMeta(SMFSchemaIdentifier schema)`

- - ### Method Detail

    - #### ignoring

          static SMFParserEventsDataMetaOptionalSupplierType ignoring()

      A supplier that has the effect of ignoring all metadata.
      Returns:
        A supplier that always returns nothing

    - #### onMeta

          Optional<SMFParserEventsDataMetaType> onMeta(SMFSchemaIdentifier schema)

      Parameters:
        `schema` - The schema ID
      Returns:
        A listener that will receive metadata

Copyright © 2017 <code@io7m.com> http://io7m.com