luxlabs header browser preview


@class TLAttentionAwarenessEffectCoordinator, NSString, AVAsset, AVQueuePlayer, TLAudioQueue, TLAlertQueuePlayerStateDescriptor, AVAudioSession;
@protocol NSCopying;

@interface TLAlertQueuePlayerController : NSObject <TLAlertPlaybackBackEndController> {
    TLAudioQueue *_audioQueue;
    struct os_unfair_lock_s { unsigned int _os_unfair_lock_opaque; } _lock;
    TLAlertQueuePlayerStateDescriptor *_stateDescriptor;
    NSString *_playingToneIdentifier;
    AVAsset *_toneAssetForPendingPlayingAlert;
    BOOL _hasToneAssetForPendingPlayingAlert;
    BOOL _isStoppingPlayingAlert;
    BOOL _isWaitingToCompleteReloadPlaybackRequest;
    BOOL _isObservingQueuePlayer;
    AVQueuePlayer *_queuePlayer;
    BOOL _isAudioEnvironmentSetup;
    BOOL _isUsingAuxiliaryAudioSession;
    AVAudioSession *_audioSession;
    NSString *_previousAudioCategory;
    unsigned long long _previousAudioCategoryOptions;
    NSString *_previousAudioMode;
    BOOL _isBypassingRingerSwitchPolicy;
    BOOL _isIgnoringAccessibilityDisabledVibrationSetting;
    BOOL _prefersToPlayDuringWombat;
    BOOL _isAudioSessionActive;
    unsigned long long _audioSessionDeactivationPreventionRequestsCount;
    BOOL _isObservingAudioSessionInterruptionNotification;
    id<NSCopying> _attentionPollingToken;
    TLAttentionAwarenessEffectCoordinator *_effectCoordinator;
    BOOL _isAttentionAwarenessSubsystemFullyInitialized;
    long long _lastAttentionPollingEventType;
    struct { BOOL isIncomingCallActive; BOOL usesReceiverRoute; } _externalEnvironmentValues;
}

@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

+ (id)_audioCategoryForAlert:(id)a0 externalEnvironmentValues:(struct { BOOL x0; BOOL x1; })a1;
+ (unsigned long long)_audioCategoryOptionsForAlert:(id)a0 externalEnvironmentValues:(struct { BOOL x0; BOOL x1; })a1;
+ (id)_audioModeForAlert:(id)a0 audioCategory:(id)a1;
+ (double)_audioPlaybackInitiationDelayForAlert:(id)a0 externalEnvironmentValues:(struct { BOOL x0; BOOL x1; })a1;
+ (long long)_audioVolumeApplicationPolicyForAlert:(id)a0 externalEnvironmentValues:(struct { BOOL x0; BOOL x1; })a1;
+ (double)_audioVolumeRampingDurationForAlert:(id)a0 externalEnvironmentValues:(struct { BOOL x0; BOOL x1; })a1 toneAssetDuration:(double)a2;
+ (id)_clientNameForAlert:(id)a0;
+ (long long)_clientPriorityForAlert:(id)a0;
+ (struct { BOOL x0; BOOL x1; })_externalEnvironmentValuesForAlert:(id)a0;
+ (id)_mediaExperienceAudioCategoryForAudioSessionCategory:(id)a0;
+ (BOOL)_prefersToPlayDuringWombatForAlert:(id)a0;
+ (id)_propertyKeysOfInterestForToneAssets;
+ (BOOL)_shouldApplyAttentionAwarenessEffectsForAlert:(id)a0;
+ (BOOL)_shouldApplyStandardDelayAndAudioVolumeRampForAlert:(id)a0 externalEnvironmentValues:(struct { BOOL x0; BOOL x1; })a1;
+ (BOOL)_shouldBypassRingerSwitchPolicyForAlert:(id)a0;
+ (BOOL)_shouldEnsureActiveAudioSessionWhenStartingPlaybackForAlert:(id)a0;
+ (BOOL)_shouldHandleAudioSessionActivationForAlert:(id)a0;
+ (BOOL)_shouldRepeatVibrationForAlert:(id)a0 externalEnvironmentValues:(struct { BOOL x0; BOOL x1; })a1;
+ (BOOL)_shouldUseAuxiliaryAudioSessionForAlert:(id)a0;
+ (BOOL)_shouldVibrateForAlert:(id)a0;

- (id)init;
- (BOOL)stopPlayingAlerts:(id)a0 withOptions:(id)a1 playbackCompletionType:(long long)a2;
- (void)dealloc;
- (void)handleActivationAssertionStatusChangeForAlert:(id)a0 updatedStatus:(BOOL)a1;
- (void)observeValueForKeyPath:(id)a0 ofObject:(id)a1 change:(id)a2 context:(void *)a3;
- (void).cxx_destruct;
- (void)playAlert:(id)a0 withCompletionHandler:(id /* block */)a1;
- (void)updateAudioVolumeDynamicallyForAlert:(id)a0 toValue:(float)a1;
- (void)_activateAudioSessionIfNeededForStateDescriptor:(id)a0;
- (void)_applyAudioVolume:(float)a0 forAlert:(id)a1;
- (float)_audioVolumeForAlert:(id)a0 audioCategory:(id)a1;
- (void)_beginPreventingAudioSessionDeactivation;
- (BOOL)_canPlayToneAsset:(id)a0;
- (void)_createQueuePlayerIfNecessaryForStateDescriptor:(id)a0;
- (void)_deactivateAudioSessionIfNeededForStateDescriptor:(id)a0;
- (void)_destroyQueuePlayerForStateDescriptor:(id)a0;
- (void)_didEndPlayingAlertForStateDescriptor:(id)a0;
- (void)_didReceiveAttentionPollingEventOfType:(long long)a0 stateDescriptor:(id)a1;
- (void)_endPreventingAudioSessionDeactivationForStateDescriptor:(id)a0;
- (id)_fallbackToneIdentifierForStateDescriptor:(id)a0;
- (void)_handleActivationAssertionStatusChangeForAlert:(id)a0 updatedStatus:(BOOL)a1 previousStateDescriptor:(id)a2 updatedStateDescriptor:(id)a3;
- (void)_handleAudioSessionInterruptionNotification:(id)a0;
- (void)_handleAudioSessionInterruptionOfType:(unsigned long long)a0 withOptions:(unsigned long long)a1;
- (void)_initiateAudioPlaybackForStateDescriptor:(id)a0 audioVolumeRampingDuration:(double)a1;
- (BOOL)_isPreventingAudioSessionDeactivation;
- (void)_performDelayedAudioPlaybackInitiationForStateDescriptor:(id)a0 audioVolumeRampingDuration:(double)a1;
- (void)_playAlertForStateDescriptor:(id)a0 previousStateDescriptor:(id)a1;
- (void)_prepareAudioEnvironmentForStateDescriptor:(id)a0;
- (void)_queuePlayer:(id)a0 currentItemStatusWasUpdatedToValue:(long long)a1;
- (void)_queuePlayer:(id)a0 currentItemWasUpdatedFromValue:(id)a1;
- (void)_reloadPlaybackForStateDescriptor:(id)a0 withToneIdentifier:(id)a1;
- (void)_resetClientPriorityForStateDescriptor:(id)a0;
- (void)_resetFlagsForSwitchingAuxiliaryAudioSession;
- (void)_restoreAudioEnvironmentForStateDescriptor:(id)a0;
- (void)_startObservingAudioSessionInterruptionNotificationsForStateDescriptor:(id)a0;
- (void)_startObservingQueuePlayer;
- (void)_startPlaybackForStateDescriptor:(id)a0 usingAssetWithLoadedProperties:(id)a1 shouldConfirmAlertStillPlaying:(BOOL)a2;
- (void)_startPlaybackForStateDescriptor:(id)a0 usingConfirmedPlayableAsset:(id)a1;
- (void)_startPlaybackForStateDescriptor:(id)a0 usingConfirmedPlayableAsset:(id)a1 hasAlreadyDetectedUserAttention:(BOOL)a2;
- (void)_stopObservingAudioSessionInterruptionNotificationsForStateDescriptor:(id)a0;
- (void)_stopObservingQueuePlayer;
- (void)_stopPlaybackForStateDescriptor:(id)a0;
- (void)_stopPlaybackForStateDescriptor:(id)a0 withOptions:(id)a1 playerWasAlreadyPausedExternally:(BOOL)a2;
- (void)_stopPlayingAlertForStateDescriptor:(id)a0 withOptions:(id)a1 playbackCompletionType:(long long)a2;
- (void)_willBeginPlayingAlertForStateDescriptor:(id)a0;

@end