getMediaCachingMode static method
Offline media: the receive-side caching mode (auto / off).
off governs the receive side only — sending media always works. The
mode is set at initialization via OfflineConfig.mediaCaching and fixed
for the SDK session (media-caching-spec §1 C-03 / BEH-MEDIA-05): there is
no runtime switch — changing it requires re-initializing the SDK. An
explicit downloadMedia is honored in either mode. Reads off while
offline is not active (isOfflineEnabled() is false).
Implementation
static MediaCachingMode getMediaCachingMode() =>
OfflineRuntime.instance.mediaCachingMode;