TWSMapItemMetadata Class Reference

Inherits from NSObject
Declared in TWSMapItemMetadata.h

Overview

Metadata associated with the Map Item.

+ withTtl:

Optionally specify TTL for the Map Item.

+ (nullable TWSMapItemMetadata *)withTtl:(int)ttl

Parameters

ttl

The new time to live in seconds from now or TWSDurationInfinity to indicate no expiry.

Return Value

New metadata object with the specified ttl.

Discussion

Optionally specify TTL for the Map Item.

This TTL specifies the minimum time the Map Item will live, sometime soon after this time the object will be deleted.

Declared In

TWSMapItemMetadata.h