AudioFocus
-
A FocusManager takes requests to acquire and release Channels and updates the focuses of other Channels based on their priorities so that the invariant that there can only be one Foreground Channel is held.
See moreDeclaration
Swift
public protocol FocusManageable : AnyObject
-
An delegate that appllication can extend to register to observe focus changes.
See moreDeclaration
Swift
public protocol FocusDelegate : AnyObject
-
FocusChannelDelegate may be capability agent whose needs to be registered with the ContextManager.
See moreDeclaration
Swift
public protocol FocusChannelDelegate : AnyObject
-
The priority of the channel used by the
FocusManager
to createChannel
objects.Use a initializer if you want to create priorities directly in application. The predetermined focus channel includes
See morerecognition
(priority = 300),information
(priority = 200) andcontent
(priority = 100).Declaration
Swift
public struct FocusChannelPriority
-
An enum class used to specify the levels of focus that a Channel can have.
See moreDeclaration
Swift
public enum FocusState