@mapsindoors/react-native-maps-indoors-google-maps
    Preparing search index...

    Class MPCategoryCollection

    A simple collection holder for categories.

    MPCategoryCollection

    Hierarchy

    Index

    Properties

    Accessors

    Methods

    Properties

    map: Map<String, MPCategory>

    The map the objects are kept in.

    Accessors

    • get size(): number

      The number of objects in the collection.

      Returns number

    Methods

    • Gets all objects contained in the collection.

      Returns MPCategory[]

    • Get a object by its identifier.

      Parameters

      • id: string

      Returns MPCategory

    • Get a category's fields directly.

      Parameters

      • key: string

      Returns Map<string, MPDataField>

    • Get a category's value directly.

      Parameters

      • key: string

      Returns string

    • Creator for MPCategoryCollection, used to decode JSON from the MapsIndoors SDK.

      Parameters

      • Optionalobject: any

      Returns MPCategoryCollection