map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface FrameworkEvent

    A framework event.

    interface FrameworkEvent {
        getBundle(): Bundle;
        getError(): undefined | Error;
        getSource(): Bundle;
        getType(): FrameworkEventTypes;
        getTypeName(): FrameworkEventNames;
    }
    Index

    Methods

    • Get the bundle associated with the event.

      Returns Bundle

      the bundle

    • Get the error if the event is of type ERROR.

      Returns undefined | Error

      the error or 'undefined'

    • Get the source bundle that was throwing the event.

      Returns Bundle

      the source bundle.