internal StreamFocusStateChangedEventArgs(AudioStreamFocusOptions options,
                                           AudioStreamFocusState focusState, AudioStreamFocusChangedReason reason, string extraInfo)
 {
     FocusOptions = options;
     FocusState   = focusState;
     Reason       = reason;
     ExtraInfo    = extraInfo;
 }
 internal AudioStreamPolicyFocusStateChangedEventArgs(AudioStreamFocusOptions options,
                                                      AudioStreamFocusState state, AudioStreamFocusChangedReason reason,
                                                      AudioStreamBehaviors behaviors, string extraInfo)
 {
     FocusOptions = options;
     FocusState   = state;
     Reason       = reason;
     Behaviors    = behaviors;
     ExtraInfo    = extraInfo;
 }
Esempio n. 3
0
 internal static extern int GetFocusState(AudioStreamPolicyHandle streamInfo,
                                          out AudioStreamFocusState stateForPlayback, out AudioStreamFocusState stateForRecording);