identifier
TypeScriptget identifier(): numberSwift declarationvar identifier: UInt64 { get }A unique identifier of an entity within a network session.
struct · iOS 13.0+ · SDK 27.1
struct SynchronizationComponentA component that synchronizes an entity between processes and networked applications. An entity acquires a ``SynchronizationComponent`` instance by adopting the ``HasSynchronization`` protocol. All entities have this component because the ``Entity`` base class adopts the protocol.
get identifier(): numberSwift declarationvar identifier: UInt64 { get }A unique identifier of an entity within a network session.
get ownershipTransferMode(): SynchronizationComponent_OwnershipTransferModeSwift declarationvar ownershipTransferMode: SynchronizationComponent.OwnershipTransferModeThe entity’s transfer ownership mode. By default, the transfer mode is ``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``. You can set it to ``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual`` to require explicit confirmation of the request by your app.
set ownershipTransferMode(value: SynchronizationComponent_OwnershipTransferMode)Swift declarationvar ownershipTransferMode: SynchronizationComponent.OwnershipTransferModeThe entity’s transfer ownership mode. By default, the transfer mode is ``SynchronizationComponent/OwnershipTransferMode-swift.enum/autoAccept``. You can set it to ``SynchronizationComponent/OwnershipTransferMode-swift.enum/manual`` to require explicit confirmation of the request by your app.
get isOwner(): booleanSwift declarationvar isOwner: Bool { get }A Boolean that indicates whether the calling process owns the entity.
static init(): SynchronizationComponentSwift declarationinit()Creates a synchronization component.
No declarations were skipped in this snapshot.