FocusChannelDelegate

public protocol FocusChannelDelegate : AnyObject

FocusChannelDelegate may be capability agent whose needs to be registered with the ContextManager.

  • <#Description#>

    Declaration

    Swift

    func focusChannelPriority() -> FocusChannelPriority
  • Used to notify the observer of the Channel of focus changes. Once called, the client should make a user observable change only and return immediately.

    Any additional work that needs to be done should be done on a separate thread or after returning. “User observable change” here refers to events that the end user of the product can visibly see or hear.

    Declaration

    Swift

    func focusChannelDidChange(focusState: FocusState)

    Parameters

    focusState

    The new Focus of the channel.