Content-Length: 442981 | pFad | http://github.com/NativeScript/NativeScript/pull/10711/files

A7 feat(ios): 18.2 types by NathanWalker · Pull Request #10711 · NativeScript/NativeScript · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ios): 18.2 types #10711

Merged
merged 2 commits into from
Feb 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 73 additions & 0 deletions packages/types-ios/src/lib/ios/objc-x86_64/objc!AVFAudio.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ declare class AVAudioApplication extends NSObject {

static new(): AVAudioApplication; // inherited from NSObject

/**
* @since 18.2
*/
static requestMicrophoneInjectionPermissionWithCompletionHandler(response: (p1: AVAudioApplicationMicrophoneInjectionPermission) => void): void;

/**
* @since 17.0
*/
Expand All @@ -131,6 +136,11 @@ declare class AVAudioApplication extends NSObject {
*/
readonly inputMuted: boolean;

/**
* @since 18.2
*/
readonly microphoneInjectionPermission: AVAudioApplicationMicrophoneInjectionPermission;

/**
* @since 17.0
*/
Expand All @@ -149,6 +159,17 @@ declare class AVAudioApplication extends NSObject {
*/
declare var AVAudioApplicationInputMuteStateChangeNotification: string;

declare const enum AVAudioApplicationMicrophoneInjectionPermission {

ServiceDisabled = 1936876659,

Undetermined = 1970168948,

Denied = 1684369017,

Granted = 1735552628
}

/**
* @since 17.0
*/
Expand Down Expand Up @@ -2039,6 +2060,21 @@ declare class AVAudioSession extends NSObject {
*/
readonly inputOrientation: AVAudioStereoOrientation;

/**
* @since 18.2
*/
readonly isEchoCancelledInputAvailable: boolean;

/**
* @since 18.2
*/
readonly isEchoCancelledInputEnabled: boolean;

/**
* @since 18.2
*/
readonly isMicrophoneInjectionAvailable: boolean;

/**
* @since 7.0
*/
Expand Down Expand Up @@ -2110,6 +2146,11 @@ declare class AVAudioSession extends NSObject {
*/
readonly preferredInputOrientation: AVAudioStereoOrientation;

/**
* @since 18.2
*/
readonly preferredMicrophoneInjectionMode: AVAudioSessionMicrophoneInjectionMode;

/**
* @since 7.0
*/
Expand All @@ -2120,6 +2161,11 @@ declare class AVAudioSession extends NSObject {
*/
readonly preferredSampleRate: number;

/**
* @since 18.2
*/
readonly prefersEchoCancelledInput: boolean;

/**
* @since 17.0
*/
Expand Down Expand Up @@ -2276,6 +2322,11 @@ declare class AVAudioSession extends NSObject {
*/
setPreferredInputOrientationError(orientation: AVAudioStereoOrientation): boolean;

/**
* @since 18.2
*/
setPreferredMicrophoneInjectionModeError(inValue: AVAudioSessionMicrophoneInjectionMode): boolean;

/**
* @since 7.0
*/
Expand All @@ -2286,6 +2337,11 @@ declare class AVAudioSession extends NSObject {
*/
setPreferredSampleRateError(sampleRate: number): boolean;

/**
* @since 18.2
*/
setPrefersEchoCancelledInputError(value: boolean): boolean;

/**
* @since 17.0
*/
Expand Down Expand Up @@ -2542,6 +2598,23 @@ declare var AVAudioSessionMediaServicesWereLostNotification: string;
*/
declare var AVAudioSessionMediaServicesWereResetNotification: string;

/**
* @since 18.2
*/
declare var AVAudioSessionMicrophoneInjectionCapabilitiesChangeNotification: string;

/**
* @since 18.2
*/
declare var AVAudioSessionMicrophoneInjectionIsAvailableKey: string;

declare const enum AVAudioSessionMicrophoneInjectionMode {

None = 0,

SpokenAudio = 1
}

/**
* @since 5.0
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4372,6 +4372,11 @@ interface AVCaptureFileOutputRecordingDelegate extends NSObjectProtocol {
captureOutputDidResumeRecordingToOutputFileAtURLFromConnections?(output: AVCaptureFileOutput, fileURL: NSURL, connections: NSArray<AVCaptureConnection> | AVCaptureConnection[]): void;

captureOutputDidStartRecordingToOutputFileAtURLFromConnections?(output: AVCaptureFileOutput, fileURL: NSURL, connections: NSArray<AVCaptureConnection> | AVCaptureConnection[]): void;

/**
* @since 18.2
*/
captureOutputDidStartRecordingToOutputFileAtURLStartPTSFromConnections?(output: AVCaptureFileOutput, fileURL: NSURL, startPTS: CMTime, connections: NSArray<AVCaptureConnection> | AVCaptureConnection[]): void;
}
declare var AVCaptureFileOutputRecordingDelegate: {

Expand Down
Loading
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/pull/10711/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy