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

    Class MPUserRoleCollection

    A collection of user role objects fetched from MapsIndoors. Uses MPUserRole.id as key.

    MPUserRoleCollection

    Hierarchy

    Index

    Properties

    Accessors

    Methods

    Properties

    map: Map<String, MPUserRole>

    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 MPUserRole[]

    • Get a object by its identifier.

      Parameters

      • id: string

      Returns MPUserRole

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

      Parameters

      • Optionalobject: any

      Returns MPUserRoleCollection