pub struct AudioPermissionPreflightBuilder { /* private fields */ }Expand description
Permission preflight descriptor for native audio recording workflows.
Implementations§
Source§impl AudioPermissionPreflightBuilder
impl AudioPermissionPreflightBuilder
Sourcepub fn microphone(self) -> Self
pub fn microphone(self) -> Self
Preflight microphone recording.
Sourcepub fn system_audio(self) -> Self
pub fn system_audio(self) -> Self
Preflight system-audio recording; this also requires screen-capture style permission.
Sourcepub fn screen_capture(self) -> Self
pub fn screen_capture(self) -> Self
Preflight screen/window capture used by audio-recording workflows.
Sourcepub fn requests_microphone(&self) -> bool
pub fn requests_microphone(&self) -> bool
Whether microphone preflight is configured.
Sourcepub fn requests_system_audio(&self) -> bool
pub fn requests_system_audio(&self) -> bool
Whether system-audio preflight is configured.
Sourcepub fn requests_screen_capture(&self) -> bool
pub fn requests_screen_capture(&self) -> bool
Whether screen-capture preflight is configured.
Sourcepub fn requested_count(&self) -> usize
pub fn requested_count(&self) -> usize
Number of requested preflight classes.
Sourcepub fn requested_privacy_permissions(&self) -> Vec<AppPrivacyPermissionKind>
pub fn requested_privacy_permissions(&self) -> Vec<AppPrivacyPermissionKind>
Privacy manifest permissions implied by this preflight.
Trait Implementations§
Source§impl Clone for AudioPermissionPreflightBuilder
impl Clone for AudioPermissionPreflightBuilder
Source§fn clone(&self) -> AudioPermissionPreflightBuilder
fn clone(&self) -> AudioPermissionPreflightBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AudioPermissionPreflightBuilder
impl Default for AudioPermissionPreflightBuilder
Source§fn default() -> AudioPermissionPreflightBuilder
fn default() -> AudioPermissionPreflightBuilder
Returns the “default value” for a type. Read more
impl Eq for AudioPermissionPreflightBuilder
impl StructuralPartialEq for AudioPermissionPreflightBuilder
Auto Trait Implementations§
impl Freeze for AudioPermissionPreflightBuilder
impl RefUnwindSafe for AudioPermissionPreflightBuilder
impl Send for AudioPermissionPreflightBuilder
impl Sync for AudioPermissionPreflightBuilder
impl Unpin for AudioPermissionPreflightBuilder
impl UnsafeUnpin for AudioPermissionPreflightBuilder
impl UnwindSafe for AudioPermissionPreflightBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().