Mediastore feature

event message olympe.messages.mediastore.counters(video_media_count=None, photo_media_count=None, video_resource_count=None, photo_resource_count=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

mediastore.counters

Information on the media store content. Valid when indexing state is indexed.

Parameters:

video_media_counti32

Number of video media in the media store, -1 if the store is not indexed.

photo_media_counti32

Number of photo media in the media store, -1 if the store is not indexed.

video_resource_counti32

Number of video resources in the media store, -1 if the store is not indexed.

photo_resource_counti32

Number of photo resources in the media store, -1 if the store is not indexed.

_policyolympe.messaging.arsdk_expectations.ExpectPolicy

specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

_float_toltuple

specify the float comparison tolerance, a 2-tuple containing a relative tolerance float value and an absolute tolerate float value (default to (1e-07, 1e-09)). See python 3 stdlib math.isclose documentation for more information

_matching_modeolympe.MatchingMode

specify the expectation matching mode (default to olympe.MatchingMode.pattern)

_int_tolint

specify the int comparison tolerance, an int containing an absolute tolerate int value (default to 0)

Supported by:

ANAFI:

with an up to date firmware

ANAFI Thermal:

with an up to date firmware

Triggered: during the connection and on changes.

event message olympe.messages.mediastore.state(state=None, _policy='check_wait', _float_tol=(1e-07, 1e-09), _int_tol=0)

mediastore.state

Media store state

Parameters:

stateolympe.enums.mediastore.state

Media store state.

_policyolympe.messaging.arsdk_expectations.ExpectPolicy

specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

_float_toltuple

specify the float comparison tolerance, a 2-tuple containing a relative tolerance float value and an absolute tolerate float value (default to (1e-07, 1e-09)). See python 3 stdlib math.isclose documentation for more information

_matching_modeolympe.MatchingMode

specify the expectation matching mode (default to olympe.MatchingMode.pattern)

_int_tolint

specify the int comparison tolerance, an int containing an absolute tolerate int value (default to 0)

Supported by:

ANAFI:

with an up to date firmware

ANAFI Thermal:

with an up to date firmware

Triggered: during the connection and on changes.

enum olympe.enums.mediastore.list_flags

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages

First:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (0)

Last:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (1)

Empty:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (2)

Remove:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (3)

enum olympe.enums.mediastore.state
not_available:

The media store is not available yet. (0)

indexing:

The media store is indexing. (1)

indexed:

The media store is indexed and ready to be used. (2)