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))#

mediastore.counters

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

Parameters:
  • video_media_count (i32) – Number of video media in the media store, -1 if the store is not indexed.

  • photo_media_count (i32) – Number of photo media in the media store, -1 if the store is not indexed.

  • video_resource_count (i32) – Number of video resources in the media store, -1 if the store is not indexed.

  • photo_resource_count (i32) – Number of photo resources in the media store, -1 if the store is not indexed.

  • _policy (olympe.arsdkng.expectations.ExpectPolicy) – specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

  • _float_tol (tuple) – 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

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))#

mediastore.state

Media store state

Parameters:
  • state (olympe.enums.mediastore.state) – Media store state.

  • _policy (olympe.arsdkng.expectations.ExpectPolicy) – specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

  • _float_tol (tuple) – 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

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)