ComposableCoreMotion Documentation

Enumeration Headphone​Motion​Manager.​Action

public enum Action: Equatable  

Actions that correspond to CMHeadphoneMotionManagerDelegate methods.

See CMHeadphoneMotionManagerDelegate for more information.

%11 HeadphoneMotionManager.Action HeadphoneMotionManager.Action Equatable Equatable HeadphoneMotionManager.Action->Equatable

Member Of

HeadphoneMotionManager

A wrapper around Core Motion's CMHeadphoneMotionManager that exposes its functionality through effects and actions, making it easy to use with the Composable Architecture, and easy to test.

Conforms To

Equatable

Enumeration Cases

did​Connect

case didConnect

did​Disconnect

case didDisconnect