Contents

messageIdentifier

A custom identification string for the current type.

Declaration

static var messageIdentifier: String { get }

Discussion

The string you return from this property must be unique among your app’s custom message types. When you send a message, GroupSessionMessenger includes this string in the data it sends to other devices. When it receives a message, GroupSessionMessenger creates the type that contains the matching string in this property.