SyncSpaceDelegate

public protocol SyncSpaceDelegate

Delegate protocol for receiving updates performed during synchronization

  • This is called whenever a new Asset was created or an existing one was updated.

    Declaration

    Swift

    func create(asset: Asset)

    Parameters

    asset

    The created/updated Asset

  • This is called whenever an Asset was deleted.

    Declaration

    Swift

    func delete(assetWithId: String)

    Parameters

    assetId

    Identifier of the Asset that was deleted.

  • This is called whenever a new Entry was created or an existing one was updated.

    Declaration

    Swift

    func create(entry: Entry)

    Parameters

    entry

    The created/updated Entry

  • This is called whenever an Entry was deleted.

    Declaration

    Swift

    func delete(entryWithId: String)

    Parameters

    entryId

    Identifier of the Entry that was deleted.