endEvent

public void endEvent(@NonNull() String name)

Signals the end of an event with the specified name.

The duration of the event is computed, and a screenshot taken (if enabled) if the event was late.

Parameters

name

the name of the event to end


public void endEvent(@NonNull() String name, @Nullable() String identifier)

Signals the end of an event with the specified name.

The duration of the event is computed, and a screenshot taken (if enabled) if the event was late.

Parameters

name

the name of the event to end

identifier

the identifier of the event to end, distinguishing between events with the same name


public void endEvent(@NonNull() String name, @Nullable() Map<String, Object> properties)

Signals the end of an event with the specified name.

The duration of the event is computed, and a screenshot taken (if enabled) if the event was late.

Parameters

name

the name of the event to end

properties

custom key-value pairs to provide with the event


public void endEvent(    @NonNull() String name,     @Nullable() String identifier,     @Nullable() Map<String, Object> properties)

Signals the end of an event with the specified name.

The duration of the event is computed, and a screenshot taken (if enabled) if the event was late.

Parameters

name

the name of the event to end

identifier

the identifier of the event to end, distinguishing between events with the same name

properties

custom key-value pairs to provide with the event