-
Notifications
You must be signed in to change notification settings - Fork 0
/
MediaAccessibility.framework.h
496 lines (415 loc) · 23.1 KB
/
MediaAccessibility.framework.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
// ========== MediaAccessibility.framework/Headers/MediaAccessibility.h
#ifndef MediaAccessibility_MediaAccessibility_h
#define MediaAccessibility_MediaAccessibility_h
#include <CoreFoundation/CoreFoundation.h>
#include <QuartzCore/QuartzCore.h>
#include <MediaAccessibility/MADefinitions.h>
#include <MediaAccessibility/MACaptionAppearance.h>
#include <MediaAccessibility/MAAudibleMedia.h>
#include <MediaAccessibility/MAImageCaptioning.h>
#endif
// ========== MediaAccessibility.framework/Headers/MADefinitions.h
#ifndef MediaAccessibility_Definitions_h
#define MediaAccessibility_Definitions_h
#include <Availability.h>
#include <AvailabilityMacros.h>
#include <TargetConditionals.h>
#if defined(__cplusplus)
#define MA_EXTERN_C_BEGIN extern "C" {
#define MA_EXTERN_C_END }
#else
#define MA_EXTERN_C_BEGIN
#define MA_EXTERN_C_END
#endif
#define MA_VISIBLE __attribute__((visibility("default")))
#if defined(__cplusplus)
#define MA_EXTERN extern "C"
#else
#define MA_EXTERN extern
#endif
#define MA_EXPORT MA_EXTERN MA_VISIBLE
#endif
// ========== MediaAccessibility.framework/Headers/MAAudibleMedia.h
/*!
@header
@discussion
Access to user preferences for audible media selection
*/
#ifndef MediaAccessibility_MAAudibleMedia_h
#define MediaAccessibility_MAAudibleMedia_h
#include <MediaAccessibility/MADefinitions.h>
#include <AvailabilityMacros.h>
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFBase.h>
MA_EXTERN_C_BEGIN
CF_ASSUME_NONNULL_BEGIN
/*!
@constant kMAAudibleMediaSettingsChangedNotification
@abstract CFNotification sent when any user-defined audible media settings are changed.
*/
MA_EXPORT const CFStringRef kMAAudibleMediaSettingsChangedNotification;
/*!
@constant MAMediaCharacteristicDescribesVideoForAccessibility
@abstract A media characteristic that indicates that a track or media selection option includes audible content that descries a video for accessibility.
*/
MA_EXPORT CFStringRef const MAMediaCharacteristicDescribesVideoForAccessibility CF_AVAILABLE(10_10, 8_0);
/*!
@function MAAudibleMediaCopyPreferredCharacteristics
@abstract User preference for audible media characteristic
@result An array containing the preferred order of media characteristics for audible media.
*/
MA_EXPORT CFArrayRef MAAudibleMediaCopyPreferredCharacteristics(void) CF_AVAILABLE(10_10, 8_0);
CF_ASSUME_NONNULL_END
MA_EXTERN_C_END
#endif /* MediaAccessibility_MAAudibleMedia_h */
// ========== MediaAccessibility.framework/Headers/MACaptionAppearance.h
/*!
@header
@discussion
Access to user preferences for media caption rendering.
*/
#ifndef MediaAccessibility_MACaptionAppearance_h
#define MediaAccessibility_MACaptionAppearance_h
#include <MediaAccessibility/MADefinitions.h>
#include <AvailabilityMacros.h>
#include <CoreFoundation/CoreFoundation.h>
#include <CoreFoundation/CFBase.h>
#include <CoreText/CoreText.h>
#include <CoreGraphics/CoreGraphics.h>
MA_EXTERN_C_BEGIN
CF_ASSUME_NONNULL_BEGIN
/*!
@const kMACaptionAppearanceSettingsChangedNotification
@abstract CFNotification sent when any user-defined captioning settings are changed.
*/
MA_EXPORT const CFStringRef kMACaptionAppearanceSettingsChangedNotification;
/*!
@enum MACaptionAppearanceDomain
@discussion
MACaptionAppearanceDomain is used to specify which domain of preferences to access.
@constant kMACaptionAppearanceDomainUser
The user-defined preferences. This domain should be passed to retrieve settings that should be used to render captions.
@constant kMACaptionAppearanceDomainDefault
The system defaults which will not change during a user session. These settings should be used for comparison, not to render captions. For example, when rendering a glyph some caption render engines need to get the user-defined font and the system-defined font to determeine the final pixel size to render a glyph. Most render engines will never need to use this domain.
*/
typedef CF_ENUM(CFIndex, MACaptionAppearanceDomain)
{
kMACaptionAppearanceDomainDefault = 0,
kMACaptionAppearanceDomainUser = 1,
} CF_ENUM_AVAILABLE(10_9, 7_0);
/*!
@enum MACaptionAppearanceDisplayType
@discussion
MACaptionAppearanceDisplayType is used to specify the the type of captions that should be displayed
@constant kMACaptionAppearanceDisplayTypeForcedOnly
Only forced captions for translation should be displayed.
@constant kMACaptionAppearanceDisplayTypeAutomatic
If the language of the audio track differs from the system locale then captions matching the system locale should be displayed (if available).
@constant kMACaptionAppearanceDisplayTypeAlwaysOn
The best available captioning track should always be displayed, whether it be CC, SDH, or subtitles.
*/
typedef CF_ENUM(CFIndex, MACaptionAppearanceDisplayType)
{
kMACaptionAppearanceDisplayTypeForcedOnly = 0,
kMACaptionAppearanceDisplayTypeAutomatic = 1,
kMACaptionAppearanceDisplayTypeAlwaysOn = 2,
} CF_ENUM_AVAILABLE(10_9, 7_0);
/*!
@enum MACaptionAppearanceBehavior
@discussion
MACaptionAppearanceBehavior is used to determine how a preference value should be used.
@constant kMACaptionAppearanceBehaviorUseValue
The value should override any content, application, or otherwise-defined values.
@constant kMACaptionAppearanceBehaviorUseContentIfAvailable
Content, application, or otherwise-defined values should override the returned value. If no other value is defined, then the return value should be used.
*/
typedef CF_ENUM(CFIndex, MACaptionAppearanceBehavior)
{
kMACaptionAppearanceBehaviorUseValue = 0,
kMACaptionAppearanceBehaviorUseContentIfAvailable = 1,
} CF_ENUM_AVAILABLE(10_9, 7_0);
/*!
@enum MACaptionAppearanceFontStyle
@discussion
MACaptionAppearanceFontStyle is used to specify a font style
@constant kMACaptionAppearanceFontStyleDefault
Default font style.
@constant kMACaptionAppearanceFontStyleMonospacedWithSerif
Font style for fonts similar to Courier.
@constant kMACaptionAppearanceFontStyleProportionalWithSerif
Font style for fonts similar to Times New Roman.
@constant kMACaptionAppearanceFontStyleMonospacedWithoutSerif
Font style for fonts similar to Helvetica Monospaced.
@constant kMACaptionAppearanceFontStyleProportionalWithoutSerif
Font style for fonts similar to Arial.
@constant kMACaptionAppearanceFontStyleCasual
Font style for fonts similar to Dom and Impress.
@constant kMACaptionAppearanceFontStyleCursive
Font style for fonts similar to Coronet and Marigold.
@constant kMACaptionAppearanceFontStyleSmallCapital
Font style for fonts similar to Engravers Gothic.
*/
typedef CF_ENUM(CFIndex, MACaptionAppearanceFontStyle)
{
kMACaptionAppearanceFontStyleDefault = 0,
kMACaptionAppearanceFontStyleMonospacedWithSerif = 1,
kMACaptionAppearanceFontStyleProportionalWithSerif = 2,
kMACaptionAppearanceFontStyleMonospacedWithoutSerif = 3,
kMACaptionAppearanceFontStyleProportionalWithoutSerif = 4,
kMACaptionAppearanceFontStyleCasual = 5,
kMACaptionAppearanceFontStyleCursive = 6,
kMACaptionAppearanceFontStyleSmallCapital = 7,
} CF_ENUM_AVAILABLE(10_9, 7_0);
/*!
@enum MACaptionAppearanceTextEdgeStyle
@discussion
MACaptionAppearanceTextEdgeStyle is used to specify a text-edge style.
@constant kMACaptionAppearanceTextEdgeStyleUndefined
Undefined edge style.
@constant kMACaptionAppearanceTextEdgeStyleNone
No edge style.
@constant kMACaptionAppearanceTextEdgeStyleRaised
Raised edge style.
@constant kMACaptionAppearanceTextEdgeStyleDepressed
Depressed edge style.
@constant kMACaptionAppearanceTextEdgeStyleUniform
Uniform edge style.
@constant kMACaptionAppearanceTextEdgeStyleDropShadow
Shadow edge style.
*/
typedef CF_ENUM(CFIndex, MACaptionAppearanceTextEdgeStyle)
{
kMACaptionAppearanceTextEdgeStyleUndefined = 0,
kMACaptionAppearanceTextEdgeStyleNone = 1,
kMACaptionAppearanceTextEdgeStyleRaised = 2,
kMACaptionAppearanceTextEdgeStyleDepressed = 3,
kMACaptionAppearanceTextEdgeStyleUniform = 4,
kMACaptionAppearanceTextEdgeStyleDropShadow = 5,
} CF_ENUM_AVAILABLE(10_9, 7_0);
/*!
@constant MAMediaCharacteristicDescribesMusicAndSoundForAccessibility
@abstract A media characteristic that indicates that a track or media selection option includes legible content in the language of its specified locale that:
- describes music and
- describes sound other than spoken dialog, such as sound effects and significant silences, occurring in program audio.
@discussion
Legible tracks provided for accessibility purposes are typically tagged both with this characteristic as well as with MAMediaCharacteristicTranscribesSpokenDialogForAccessibility.
A legible track provided for accessibility purposes that's associated with an audio track without music and without sound other than spoken dialog -- lacking even significant silences -- can be tagged with this characteristic, because it trivially meets these requirements.
*/
MA_EXPORT CFStringRef const MAMediaCharacteristicDescribesMusicAndSoundForAccessibility CF_AVAILABLE(10_9, 7_0);
/*!
@constant MAMediaCharacteristicTranscribesSpokenDialogForAccessibility
@abstract A media characteristic that indicates that a track or media selection option includes legible content in the language of its specified locale that:
- transcribes spoken dialog and
- identifies speakers whenever other visual cues are insufficient for a viewer to determine who is speaking.
@discussion
Legible tracks provided for accessibility purposes are typically tagged both with this characteristic as well as with MAMediaCharacteristicDescribesMusicAndSoundForAccessibility.
A legible track provided for accessibility purposes that's associated with an audio track that has no spoken dialog can be tagged with this characteristic, because it trivially meets these requirements.
*/
MA_EXPORT CFStringRef const MAMediaCharacteristicTranscribesSpokenDialogForAccessibility CF_AVAILABLE(10_9, 7_0);
#pragma mark Language preferences
/*——————————————————————————————————————————————————————————————————————————————————————*/
/*! @group Language preferences */
/*——————————————————————————————————————————————————————————————————————————————————————*/
/*!
@function MACaptionAppearanceAddSelectedLanguage
@abstract Adds a user's selected caption language to stack of languages.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link
@param language Canonical language identifier (see @link CFLocale@/link) of the user's preferred caption language.
@result <code>true</code> if addition was successful. Unsuccessful additions are most liketly the result of invalid language codes.
@discussion After a language is added it will appear first in the array returned by MACaptionAppearanceCopySelectedLanguages. Applications should call this anytime a user selects a specific languages for captioning tracks.
For example, an AVFoundation clients may execute the following code in response to a user selecting a captioning track:
<code>
// in response to a user selection (from a pop-up menu or any other UI affordance), make the selection effective
-[AVPlayerItem selectMediaOption:legibleOption inMediaSelectionGroup:legibleGroup];
// now update system-wide captioning preferences by registering the language of the option selected by the user
MACaptionAppearanceAddSelectedLanguage(kMACaptionAppearanceDomainUser, (CFStringRef)[[legibleOption locale] localeIdentifier]);
</code>
*/
MA_EXPORT
bool MACaptionAppearanceAddSelectedLanguage(MACaptionAppearanceDomain domain, CFStringRef language) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceCopySelectedLanguages
@abstract Copies the user's preferred caption languages.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@result Ordered array of preferred canonical language identifiers.
@discussion Languages added using MACaptionAppearanceAddSelectedLanguage are normalized, and thus the contents of this array may have slightly different strings than those passed into MACaptionAppearanceAddSelectedLanguage.
*/
MA_EXPORT
CFArrayRef MACaptionAppearanceCopySelectedLanguages(MACaptionAppearanceDomain domain) CF_AVAILABLE(10_9, 7_0);
#pragma mark General preferences
/*——————————————————————————————————————————————————————————————————————————————————————*/
/*! @group General preferences */
/*——————————————————————————————————————————————————————————————————————————————————————*/
/*!
@function MACaptionAppearanceGetDisplayType
@abstract User preference representing what type of captions should be displayed
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@result User preference representing what type of captions should be displayed. See @link MACaptionAppearanceDisplayType @/link.
*/
MA_EXPORT
MACaptionAppearanceDisplayType MACaptionAppearanceGetDisplayType(MACaptionAppearanceDomain domain) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceSetDisplayType
@abstract User preference representing what type of captions should be displayed
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param displayType Captions display type, see @link MACaptionAppearanceDisplayType @/link.
*/
MA_EXPORT
void MACaptionAppearanceSetDisplayType(MACaptionAppearanceDomain domain, MACaptionAppearanceDisplayType displayType) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics
@abstract User preference for captioning media characteristic
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@result An array containing the preferred order of media characteristics for captions.
*/
MA_EXPORT
CFArrayRef MACaptionAppearanceCopyPreferredCaptioningMediaCharacteristics(MACaptionAppearanceDomain domain) CF_AVAILABLE(10_9, 7_0);
#pragma mark Color preferences
/*——————————————————————————————————————————————————————————————————————————————————————*/
/*! @group Color preferences */
/*——————————————————————————————————————————————————————————————————————————————————————*/
/*!
@function MACaptionAppearanceCopyForegroundColor
@abstract User preference for foreground/text color.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User preference for foreground/text color.
*/
MA_EXPORT
CGColorRef MACaptionAppearanceCopyForegroundColor(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior *__nullable behavior) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceCopyBackgroundColor
@abstract User preference for background color.
@discussion The background color is the color behind each caption glyph.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User preference for background color.
*/
MA_EXPORT
CGColorRef MACaptionAppearanceCopyBackgroundColor(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior *__nullable behavior) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceCopyWindowColor
@abstract User preference for window color.
@discussion The window color is the color of a box behind all of the caption glyphs.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User preference for window color.
*/
MA_EXPORT
CGColorRef MACaptionAppearanceCopyWindowColor(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior *__nullable behavior) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceGetForegroundOpacity
@abstract User preference for foreground opacity.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User preference for foreground opacity.
*/
MA_EXPORT
CGFloat MACaptionAppearanceGetForegroundOpacity(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior *__nullable behavior) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceGetBackgroundOpacity
@abstract User preference for background opacity.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User preference for background opacity.
*/
MA_EXPORT
CGFloat MACaptionAppearanceGetBackgroundOpacity(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior *__nullable behavior) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceGetWindowOpacity
@abstract User preference for window opacity.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User preference for window opacity.
*/
MA_EXPORT
CGFloat MACaptionAppearanceGetWindowOpacity(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior *__nullable behavior) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceGetWindowRoundedCornerRadius
@abstract User preference for caption-window corner radius.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User preference for caption-window corner radius.
*/
MA_EXPORT
CGFloat MACaptionAppearanceGetWindowRoundedCornerRadius(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior *__nullable behavior) CF_AVAILABLE(10_9, 7_0);
#pragma mark Text Preferences
/*——————————————————————————————————————————————————————————————————————————————————————*/
/*! @group Text preferences */
/*——————————————————————————————————————————————————————————————————————————————————————*/
/*!
@function MACaptionAppearanceCopyFontForStyle
@abstract User font preference for the specified style.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@param fontStyle Font style, see @link MACaptionAppearanceFontStyle @/link.
@result User font preference for the specified style.
*/
MA_EXPORT CTFontDescriptorRef MACaptionAppearanceCopyFontDescriptorForStyle(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior * __nullable behavior, MACaptionAppearanceFontStyle fontStyle) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceGetRelativeCharacterSize
@abstract User preference for font scaling.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User font scaling preference for the specified style.
*/
MA_EXPORT
CGFloat MACaptionAppearanceGetRelativeCharacterSize(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior * __nullable behavior) CF_AVAILABLE(10_9, 7_0);
/*!
@function MACaptionAppearanceGetTextEdgeStyle
@abstract User preference for text edge style.
@param domain Preference domain, see @link MACaptionAppearanceDomain @/link.
@param *behavior (see @link MACaptionAppearanceBehavior @/link)
@result User preference for text edge style.
*/
MA_EXPORT
MACaptionAppearanceTextEdgeStyle MACaptionAppearanceGetTextEdgeStyle(MACaptionAppearanceDomain domain, MACaptionAppearanceBehavior * __nullable behavior) CF_AVAILABLE(10_9, 7_0);
CF_ASSUME_NONNULL_END
MA_EXTERN_C_END
#endif /* MediaAccessibility_MACaptionAppearance_h */
// ========== MediaAccessibility.framework/Headers/MAImageCaptioning.h
/*!
@header
@discussion
Methods to set and get an image's accessibility caption embedded in image metadata.
*/
#ifndef MediaAccessibility_MAImageCaptioning_h
#define MediaAccessibility_MAImageCaptioning_h
#include <AvailabilityMacros.h>
#include <MediaAccessibility/MADefinitions.h>
#include <CoreFoundation/CoreFoundation.h>
CF_ASSUME_NONNULL_BEGIN
/*!
@function MAImageCaptioningCopyCaption
@abstract Returns an accessibility caption from an image's metadata.
@param url The URL locating the image on disk.
@param error If an error occurs, a description will be provided.
@result A string with the image caption. Nil if there's no caption.
@discussion A convenience function for retrieving a caption from an image file that aims to describe the photo accurately.
This checks for XMP metadata field: Iptc4xmpExt:AOContentDescription.
*/
MA_EXPORT
_Nullable CFStringRef MAImageCaptioningCopyCaption(CFURLRef url, CFErrorRef _Nullable * _Nullable CF_RETURNS_RETAINED error) API_AVAILABLE(ios(13.0), watchos(6.0), tvos(13.0), macos(10.15)) CF_RETURNS_RETAINED;
/*!
@function MAImageCaptioningSetCaption
@abstract Sets the accessibility caption into an image's metadata.
@param url The URL locating the image on disk.
@param error If an error occurs, a description will be provided.
@param string The accessility caption.
@result A bool representing whether the operation was successful.
@discussion A convenience function for setting a caption to an image file that aims to describe the photo accurately.
This sets the XMP metadata field: Iptc4xmpExt:AOContentDescription.
*/
MA_EXPORT
bool MAImageCaptioningSetCaption(CFURLRef url, CFStringRef __nullable string, CFErrorRef _Nullable * _Nullable CF_RETURNS_RETAINED error) API_AVAILABLE(ios(13.0), watchos(6.0), tvos(13.0), macos(10.15));
/*!
@function MAImageCaptioningCopyMetadataTagPath
@abstract Returns the metadata tagpath for this key.
This tag path can be used to copy metadata directly using CGImageMetadataCopyTagWithPath from the CGImageMetadataRef, for example.
@result A string representing the tag path.
@discussion This returns the appropriate metadata tag path to be used.
*/
MA_EXPORT
CFStringRef MAImageCaptioningCopyMetadataTagPath(void) API_AVAILABLE(ios(13.0), watchos(6.0), tvos(13.0), macos(10.15)) CF_RETURNS_RETAINED;
CF_ASSUME_NONNULL_END
#endif /* MediaAccessibility_MAImageCaptioning_h */