Protocols

The following protocols are available globally.

  • Deregistration strategy to set configurable parameters for de-registration flow. Optional with default value DefaultDeregisterStrategy.

    See more

    Declaration

    Swift

    public protocol DeregisterStrategy : AnyObject
  • Authentication provider for Amazon Sidewalk. Must be provided.

    See more

    Declaration

    Swift

    public protocol SidewalkAuthProviding : AnyObject
  • A protocol indicating that an activity or action may be cancelled. Behavior aligns with Cancellable from Combine.

    See more

    Declaration

    Swift

    public protocol SidewalkCancellable
  • A protocol that describes an Amazon Sidewalk device.

    Amazon Sidewalk Mobile SDK will match the first SidewalkDevice found that matches all criteria provided.

    See more

    Declaration

    Swift

    public protocol SidewalkDeviceDescriptor
  • A protocol allowing consumer to provide a logging implementation to capture Amazon Sidewalk Mobile SDK logs.

    We are evaluating how to align this with the Logger struct provided in iOS14. This interface is subject to change.

    See more

    Declaration

    Swift

    public protocol SidewalkLogging