IAnalyticsPropertyStore::Flush

Flushes cached values to persistent storage.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

IAnalyticsPropertyStore::Flush()

FAnalyticsPropertyStore::Flush()

References

Module

Analytics

Header

/Engine/Source/Runtime/Analytics/Analytics/Public/Interfaces/IAnalyticsPropertyStore.h

Include

#include "Interfaces/IAnalyticsPropertyStore.h"

Syntax

bool Flush
(
    bool bAsync,
    const FTimespan & Timeout
)

Remarks

Flushes cached values to persistent storage.

Returns

True if the flush was executed (synchronous) or scheduled (asynchronous), false if the operation timed out.

Parameters

Parameter

Description

bAsync

Whether the data in flushed in a background thread or in the calling thread.

Timeout

Maximum time to wait before the flush starts (synchronous) or get scheduled (asynchronous). FTimespan::Zero() means no waiting.