addStatusObserver(_:)
Adds an observer to monitor the status of haptic playback for the Now Playing song.
Declaration
func addStatusObserver(_ statusHandler: @escaping (String, Bool) -> Void) -> (any NSCopying)?Adds an observer to monitor the status of haptic playback for the Now Playing song.
func addStatusObserver(_ statusHandler: @escaping (String, Bool) -> Void) -> (any NSCopying)?