getSessionHash

The getSessionHash() method returns the current session hash setting.

Syntax

await FlutterPiwikPro.sharedInstance.getSessionHash();

Returns

The current session hash setting, instead of a string that describes the method and its parameters.

Type: SessionHash enum. Possible values: SessionHash.disabled, SessionHash.enabled, SessionHash.notSet. See setSessionHash() for the meaning of each value.

Examples

To read the current session hash setting:

final SessionHash sessionHash = await FlutterPiwikPro.sharedInstance.getSessionHash();

Related methods