objc2_core_spotlight/generated/
CSSearchableItemAttributeSet_Media.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ffi::*;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9/// CSMedia.
10#[cfg(feature = "CSSearchableItemAttributeSet")]
11impl CSSearchableItemAttributeSet {
12    extern_methods!(
13        #[unsafe(method(editors))]
14        #[unsafe(method_family = none)]
15        pub unsafe fn editors(&self) -> Option<Retained<NSArray<NSString>>>;
16
17        /// Setter for [`editors`][Self::editors].
18        ///
19        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
20        #[unsafe(method(setEditors:))]
21        #[unsafe(method_family = none)]
22        pub unsafe fn setEditors(&self, editors: Option<&NSArray<NSString>>);
23
24        #[unsafe(method(participants))]
25        #[unsafe(method_family = none)]
26        pub unsafe fn participants(&self) -> Option<Retained<NSArray<NSString>>>;
27
28        /// Setter for [`participants`][Self::participants].
29        ///
30        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
31        #[unsafe(method(setParticipants:))]
32        #[unsafe(method_family = none)]
33        pub unsafe fn setParticipants(&self, participants: Option<&NSArray<NSString>>);
34
35        #[unsafe(method(projects))]
36        #[unsafe(method_family = none)]
37        pub unsafe fn projects(&self) -> Option<Retained<NSArray<NSString>>>;
38
39        /// Setter for [`projects`][Self::projects].
40        ///
41        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
42        #[unsafe(method(setProjects:))]
43        #[unsafe(method_family = none)]
44        pub unsafe fn setProjects(&self, projects: Option<&NSArray<NSString>>);
45
46        #[unsafe(method(downloadedDate))]
47        #[unsafe(method_family = none)]
48        pub unsafe fn downloadedDate(&self) -> Option<Retained<NSDate>>;
49
50        /// Setter for [`downloadedDate`][Self::downloadedDate].
51        #[unsafe(method(setDownloadedDate:))]
52        #[unsafe(method_family = none)]
53        pub unsafe fn setDownloadedDate(&self, downloaded_date: Option<&NSDate>);
54
55        #[unsafe(method(contentSources))]
56        #[unsafe(method_family = none)]
57        pub unsafe fn contentSources(&self) -> Option<Retained<NSArray<NSString>>>;
58
59        /// Setter for [`contentSources`][Self::contentSources].
60        ///
61        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
62        #[unsafe(method(setContentSources:))]
63        #[unsafe(method_family = none)]
64        pub unsafe fn setContentSources(&self, content_sources: Option<&NSArray<NSString>>);
65
66        #[unsafe(method(comment))]
67        #[unsafe(method_family = none)]
68        pub unsafe fn comment(&self) -> Option<Retained<NSString>>;
69
70        /// Setter for [`comment`][Self::comment].
71        ///
72        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
73        #[unsafe(method(setComment:))]
74        #[unsafe(method_family = none)]
75        pub unsafe fn setComment(&self, comment: Option<&NSString>);
76
77        #[unsafe(method(copyright))]
78        #[unsafe(method_family = none)]
79        pub unsafe fn copyright(&self) -> Option<Retained<NSString>>;
80
81        /// Setter for [`copyright`][Self::copyright].
82        ///
83        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
84        #[unsafe(method(setCopyright:))]
85        #[unsafe(method_family = none)]
86        pub unsafe fn setCopyright(&self, copyright: Option<&NSString>);
87
88        #[unsafe(method(lastUsedDate))]
89        #[unsafe(method_family = none)]
90        pub unsafe fn lastUsedDate(&self) -> Option<Retained<NSDate>>;
91
92        /// Setter for [`lastUsedDate`][Self::lastUsedDate].
93        #[unsafe(method(setLastUsedDate:))]
94        #[unsafe(method_family = none)]
95        pub unsafe fn setLastUsedDate(&self, last_used_date: Option<&NSDate>);
96
97        #[unsafe(method(contentCreationDate))]
98        #[unsafe(method_family = none)]
99        pub unsafe fn contentCreationDate(&self) -> Option<Retained<NSDate>>;
100
101        /// Setter for [`contentCreationDate`][Self::contentCreationDate].
102        #[unsafe(method(setContentCreationDate:))]
103        #[unsafe(method_family = none)]
104        pub unsafe fn setContentCreationDate(&self, content_creation_date: Option<&NSDate>);
105
106        #[unsafe(method(contentModificationDate))]
107        #[unsafe(method_family = none)]
108        pub unsafe fn contentModificationDate(&self) -> Option<Retained<NSDate>>;
109
110        /// Setter for [`contentModificationDate`][Self::contentModificationDate].
111        #[unsafe(method(setContentModificationDate:))]
112        #[unsafe(method_family = none)]
113        pub unsafe fn setContentModificationDate(&self, content_modification_date: Option<&NSDate>);
114
115        #[unsafe(method(addedDate))]
116        #[unsafe(method_family = none)]
117        pub unsafe fn addedDate(&self) -> Option<Retained<NSDate>>;
118
119        /// Setter for [`addedDate`][Self::addedDate].
120        #[unsafe(method(setAddedDate:))]
121        #[unsafe(method_family = none)]
122        pub unsafe fn setAddedDate(&self, added_date: Option<&NSDate>);
123
124        #[unsafe(method(duration))]
125        #[unsafe(method_family = none)]
126        pub unsafe fn duration(&self) -> Option<Retained<NSNumber>>;
127
128        /// Setter for [`duration`][Self::duration].
129        #[unsafe(method(setDuration:))]
130        #[unsafe(method_family = none)]
131        pub unsafe fn setDuration(&self, duration: Option<&NSNumber>);
132
133        #[unsafe(method(contactKeywords))]
134        #[unsafe(method_family = none)]
135        pub unsafe fn contactKeywords(&self) -> Option<Retained<NSArray<NSString>>>;
136
137        /// Setter for [`contactKeywords`][Self::contactKeywords].
138        ///
139        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
140        #[unsafe(method(setContactKeywords:))]
141        #[unsafe(method_family = none)]
142        pub unsafe fn setContactKeywords(&self, contact_keywords: Option<&NSArray<NSString>>);
143
144        #[unsafe(method(codecs))]
145        #[unsafe(method_family = none)]
146        pub unsafe fn codecs(&self) -> Option<Retained<NSArray<NSString>>>;
147
148        /// Setter for [`codecs`][Self::codecs].
149        ///
150        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
151        #[unsafe(method(setCodecs:))]
152        #[unsafe(method_family = none)]
153        pub unsafe fn setCodecs(&self, codecs: Option<&NSArray<NSString>>);
154
155        #[unsafe(method(mediaTypes))]
156        #[unsafe(method_family = none)]
157        pub unsafe fn mediaTypes(&self) -> Option<Retained<NSArray<NSString>>>;
158
159        /// Setter for [`mediaTypes`][Self::mediaTypes].
160        ///
161        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
162        #[unsafe(method(setMediaTypes:))]
163        #[unsafe(method_family = none)]
164        pub unsafe fn setMediaTypes(&self, media_types: Option<&NSArray<NSString>>);
165
166        #[unsafe(method(isStreamable))]
167        #[unsafe(method_family = none)]
168        pub unsafe fn isStreamable(&self) -> Option<Retained<NSNumber>>;
169
170        /// Setter for [`isStreamable`][Self::isStreamable].
171        #[unsafe(method(setStreamable:))]
172        #[unsafe(method_family = none)]
173        pub unsafe fn setStreamable(&self, streamable: Option<&NSNumber>);
174
175        #[unsafe(method(totalBitRate))]
176        #[unsafe(method_family = none)]
177        pub unsafe fn totalBitRate(&self) -> Option<Retained<NSNumber>>;
178
179        /// Setter for [`totalBitRate`][Self::totalBitRate].
180        #[unsafe(method(setTotalBitRate:))]
181        #[unsafe(method_family = none)]
182        pub unsafe fn setTotalBitRate(&self, total_bit_rate: Option<&NSNumber>);
183
184        #[unsafe(method(videoBitRate))]
185        #[unsafe(method_family = none)]
186        pub unsafe fn videoBitRate(&self) -> Option<Retained<NSNumber>>;
187
188        /// Setter for [`videoBitRate`][Self::videoBitRate].
189        #[unsafe(method(setVideoBitRate:))]
190        #[unsafe(method_family = none)]
191        pub unsafe fn setVideoBitRate(&self, video_bit_rate: Option<&NSNumber>);
192
193        #[unsafe(method(audioBitRate))]
194        #[unsafe(method_family = none)]
195        pub unsafe fn audioBitRate(&self) -> Option<Retained<NSNumber>>;
196
197        /// Setter for [`audioBitRate`][Self::audioBitRate].
198        #[unsafe(method(setAudioBitRate:))]
199        #[unsafe(method_family = none)]
200        pub unsafe fn setAudioBitRate(&self, audio_bit_rate: Option<&NSNumber>);
201
202        #[unsafe(method(deliveryType))]
203        #[unsafe(method_family = none)]
204        pub unsafe fn deliveryType(&self) -> Option<Retained<NSNumber>>;
205
206        /// Setter for [`deliveryType`][Self::deliveryType].
207        #[unsafe(method(setDeliveryType:))]
208        #[unsafe(method_family = none)]
209        pub unsafe fn setDeliveryType(&self, delivery_type: Option<&NSNumber>);
210
211        #[unsafe(method(organizations))]
212        #[unsafe(method_family = none)]
213        pub unsafe fn organizations(&self) -> Option<Retained<NSArray<NSString>>>;
214
215        /// Setter for [`organizations`][Self::organizations].
216        ///
217        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
218        #[unsafe(method(setOrganizations:))]
219        #[unsafe(method_family = none)]
220        pub unsafe fn setOrganizations(&self, organizations: Option<&NSArray<NSString>>);
221
222        #[unsafe(method(role))]
223        #[unsafe(method_family = none)]
224        pub unsafe fn role(&self) -> Option<Retained<NSString>>;
225
226        /// Setter for [`role`][Self::role].
227        ///
228        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
229        #[unsafe(method(setRole:))]
230        #[unsafe(method_family = none)]
231        pub unsafe fn setRole(&self, role: Option<&NSString>);
232
233        #[unsafe(method(languages))]
234        #[unsafe(method_family = none)]
235        pub unsafe fn languages(&self) -> Option<Retained<NSArray<NSString>>>;
236
237        /// Setter for [`languages`][Self::languages].
238        ///
239        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
240        #[unsafe(method(setLanguages:))]
241        #[unsafe(method_family = none)]
242        pub unsafe fn setLanguages(&self, languages: Option<&NSArray<NSString>>);
243
244        #[unsafe(method(rights))]
245        #[unsafe(method_family = none)]
246        pub unsafe fn rights(&self) -> Option<Retained<NSString>>;
247
248        /// Setter for [`rights`][Self::rights].
249        ///
250        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
251        #[unsafe(method(setRights:))]
252        #[unsafe(method_family = none)]
253        pub unsafe fn setRights(&self, rights: Option<&NSString>);
254
255        #[unsafe(method(publishers))]
256        #[unsafe(method_family = none)]
257        pub unsafe fn publishers(&self) -> Option<Retained<NSArray<NSString>>>;
258
259        /// Setter for [`publishers`][Self::publishers].
260        ///
261        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
262        #[unsafe(method(setPublishers:))]
263        #[unsafe(method_family = none)]
264        pub unsafe fn setPublishers(&self, publishers: Option<&NSArray<NSString>>);
265
266        #[unsafe(method(contributors))]
267        #[unsafe(method_family = none)]
268        pub unsafe fn contributors(&self) -> Option<Retained<NSArray<NSString>>>;
269
270        /// Setter for [`contributors`][Self::contributors].
271        ///
272        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
273        #[unsafe(method(setContributors:))]
274        #[unsafe(method_family = none)]
275        pub unsafe fn setContributors(&self, contributors: Option<&NSArray<NSString>>);
276
277        #[unsafe(method(coverage))]
278        #[unsafe(method_family = none)]
279        pub unsafe fn coverage(&self) -> Option<Retained<NSArray<NSString>>>;
280
281        /// Setter for [`coverage`][Self::coverage].
282        ///
283        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
284        #[unsafe(method(setCoverage:))]
285        #[unsafe(method_family = none)]
286        pub unsafe fn setCoverage(&self, coverage: Option<&NSArray<NSString>>);
287
288        #[unsafe(method(rating))]
289        #[unsafe(method_family = none)]
290        pub unsafe fn rating(&self) -> Option<Retained<NSNumber>>;
291
292        /// Setter for [`rating`][Self::rating].
293        #[unsafe(method(setRating:))]
294        #[unsafe(method_family = none)]
295        pub unsafe fn setRating(&self, rating: Option<&NSNumber>);
296
297        #[unsafe(method(ratingDescription))]
298        #[unsafe(method_family = none)]
299        pub unsafe fn ratingDescription(&self) -> Option<Retained<NSString>>;
300
301        /// Setter for [`ratingDescription`][Self::ratingDescription].
302        ///
303        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
304        #[unsafe(method(setRatingDescription:))]
305        #[unsafe(method_family = none)]
306        pub unsafe fn setRatingDescription(&self, rating_description: Option<&NSString>);
307
308        #[unsafe(method(playCount))]
309        #[unsafe(method_family = none)]
310        pub unsafe fn playCount(&self) -> Option<Retained<NSNumber>>;
311
312        /// Setter for [`playCount`][Self::playCount].
313        #[unsafe(method(setPlayCount:))]
314        #[unsafe(method_family = none)]
315        pub unsafe fn setPlayCount(&self, play_count: Option<&NSNumber>);
316
317        #[unsafe(method(information))]
318        #[unsafe(method_family = none)]
319        pub unsafe fn information(&self) -> Option<Retained<NSString>>;
320
321        /// Setter for [`information`][Self::information].
322        ///
323        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
324        #[unsafe(method(setInformation:))]
325        #[unsafe(method_family = none)]
326        pub unsafe fn setInformation(&self, information: Option<&NSString>);
327
328        #[unsafe(method(director))]
329        #[unsafe(method_family = none)]
330        pub unsafe fn director(&self) -> Option<Retained<NSString>>;
331
332        /// Setter for [`director`][Self::director].
333        ///
334        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
335        #[unsafe(method(setDirector:))]
336        #[unsafe(method_family = none)]
337        pub unsafe fn setDirector(&self, director: Option<&NSString>);
338
339        #[unsafe(method(producer))]
340        #[unsafe(method_family = none)]
341        pub unsafe fn producer(&self) -> Option<Retained<NSString>>;
342
343        /// Setter for [`producer`][Self::producer].
344        ///
345        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
346        #[unsafe(method(setProducer:))]
347        #[unsafe(method_family = none)]
348        pub unsafe fn setProducer(&self, producer: Option<&NSString>);
349
350        #[unsafe(method(genre))]
351        #[unsafe(method_family = none)]
352        pub unsafe fn genre(&self) -> Option<Retained<NSString>>;
353
354        /// Setter for [`genre`][Self::genre].
355        ///
356        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
357        #[unsafe(method(setGenre:))]
358        #[unsafe(method_family = none)]
359        pub unsafe fn setGenre(&self, genre: Option<&NSString>);
360
361        #[unsafe(method(performers))]
362        #[unsafe(method_family = none)]
363        pub unsafe fn performers(&self) -> Option<Retained<NSArray<NSString>>>;
364
365        /// Setter for [`performers`][Self::performers].
366        ///
367        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
368        #[unsafe(method(setPerformers:))]
369        #[unsafe(method_family = none)]
370        pub unsafe fn setPerformers(&self, performers: Option<&NSArray<NSString>>);
371
372        #[unsafe(method(originalFormat))]
373        #[unsafe(method_family = none)]
374        pub unsafe fn originalFormat(&self) -> Option<Retained<NSString>>;
375
376        /// Setter for [`originalFormat`][Self::originalFormat].
377        ///
378        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
379        #[unsafe(method(setOriginalFormat:))]
380        #[unsafe(method_family = none)]
381        pub unsafe fn setOriginalFormat(&self, original_format: Option<&NSString>);
382
383        #[unsafe(method(originalSource))]
384        #[unsafe(method_family = none)]
385        pub unsafe fn originalSource(&self) -> Option<Retained<NSString>>;
386
387        /// Setter for [`originalSource`][Self::originalSource].
388        ///
389        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
390        #[unsafe(method(setOriginalSource:))]
391        #[unsafe(method_family = none)]
392        pub unsafe fn setOriginalSource(&self, original_source: Option<&NSString>);
393
394        #[unsafe(method(isLocal))]
395        #[unsafe(method_family = none)]
396        pub unsafe fn isLocal(&self) -> Option<Retained<NSNumber>>;
397
398        /// Setter for [`isLocal`][Self::isLocal].
399        #[unsafe(method(setLocal:))]
400        #[unsafe(method_family = none)]
401        pub unsafe fn setLocal(&self, local: Option<&NSNumber>);
402
403        #[unsafe(method(contentRating))]
404        #[unsafe(method_family = none)]
405        pub unsafe fn contentRating(&self) -> Option<Retained<NSNumber>>;
406
407        /// Setter for [`contentRating`][Self::contentRating].
408        #[unsafe(method(setContentRating:))]
409        #[unsafe(method_family = none)]
410        pub unsafe fn setContentRating(&self, content_rating: Option<&NSNumber>);
411
412        #[unsafe(method(URL))]
413        #[unsafe(method_family = none)]
414        pub unsafe fn URL(&self) -> Option<Retained<NSURL>>;
415
416        /// Setter for [`URL`][Self::URL].
417        #[unsafe(method(setURL:))]
418        #[unsafe(method_family = none)]
419        pub unsafe fn setURL(&self, url: Option<&NSURL>);
420    );
421}
422
423/// CSMusic.
424#[cfg(feature = "CSSearchableItemAttributeSet")]
425impl CSSearchableItemAttributeSet {
426    extern_methods!(
427        #[unsafe(method(audioSampleRate))]
428        #[unsafe(method_family = none)]
429        pub unsafe fn audioSampleRate(&self) -> Option<Retained<NSNumber>>;
430
431        /// Setter for [`audioSampleRate`][Self::audioSampleRate].
432        #[unsafe(method(setAudioSampleRate:))]
433        #[unsafe(method_family = none)]
434        pub unsafe fn setAudioSampleRate(&self, audio_sample_rate: Option<&NSNumber>);
435
436        #[unsafe(method(audioChannelCount))]
437        #[unsafe(method_family = none)]
438        pub unsafe fn audioChannelCount(&self) -> Option<Retained<NSNumber>>;
439
440        /// Setter for [`audioChannelCount`][Self::audioChannelCount].
441        #[unsafe(method(setAudioChannelCount:))]
442        #[unsafe(method_family = none)]
443        pub unsafe fn setAudioChannelCount(&self, audio_channel_count: Option<&NSNumber>);
444
445        #[unsafe(method(tempo))]
446        #[unsafe(method_family = none)]
447        pub unsafe fn tempo(&self) -> Option<Retained<NSNumber>>;
448
449        /// Setter for [`tempo`][Self::tempo].
450        #[unsafe(method(setTempo:))]
451        #[unsafe(method_family = none)]
452        pub unsafe fn setTempo(&self, tempo: Option<&NSNumber>);
453
454        #[unsafe(method(keySignature))]
455        #[unsafe(method_family = none)]
456        pub unsafe fn keySignature(&self) -> Option<Retained<NSString>>;
457
458        /// Setter for [`keySignature`][Self::keySignature].
459        ///
460        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
461        #[unsafe(method(setKeySignature:))]
462        #[unsafe(method_family = none)]
463        pub unsafe fn setKeySignature(&self, key_signature: Option<&NSString>);
464
465        #[unsafe(method(timeSignature))]
466        #[unsafe(method_family = none)]
467        pub unsafe fn timeSignature(&self) -> Option<Retained<NSString>>;
468
469        /// Setter for [`timeSignature`][Self::timeSignature].
470        ///
471        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
472        #[unsafe(method(setTimeSignature:))]
473        #[unsafe(method_family = none)]
474        pub unsafe fn setTimeSignature(&self, time_signature: Option<&NSString>);
475
476        #[unsafe(method(audioEncodingApplication))]
477        #[unsafe(method_family = none)]
478        pub unsafe fn audioEncodingApplication(&self) -> Option<Retained<NSString>>;
479
480        /// Setter for [`audioEncodingApplication`][Self::audioEncodingApplication].
481        ///
482        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
483        #[unsafe(method(setAudioEncodingApplication:))]
484        #[unsafe(method_family = none)]
485        pub unsafe fn setAudioEncodingApplication(
486            &self,
487            audio_encoding_application: Option<&NSString>,
488        );
489
490        #[unsafe(method(composer))]
491        #[unsafe(method_family = none)]
492        pub unsafe fn composer(&self) -> Option<Retained<NSString>>;
493
494        /// Setter for [`composer`][Self::composer].
495        ///
496        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
497        #[unsafe(method(setComposer:))]
498        #[unsafe(method_family = none)]
499        pub unsafe fn setComposer(&self, composer: Option<&NSString>);
500
501        #[unsafe(method(lyricist))]
502        #[unsafe(method_family = none)]
503        pub unsafe fn lyricist(&self) -> Option<Retained<NSString>>;
504
505        /// Setter for [`lyricist`][Self::lyricist].
506        ///
507        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
508        #[unsafe(method(setLyricist:))]
509        #[unsafe(method_family = none)]
510        pub unsafe fn setLyricist(&self, lyricist: Option<&NSString>);
511
512        #[unsafe(method(album))]
513        #[unsafe(method_family = none)]
514        pub unsafe fn album(&self) -> Option<Retained<NSString>>;
515
516        /// Setter for [`album`][Self::album].
517        ///
518        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
519        #[unsafe(method(setAlbum:))]
520        #[unsafe(method_family = none)]
521        pub unsafe fn setAlbum(&self, album: Option<&NSString>);
522
523        #[unsafe(method(artist))]
524        #[unsafe(method_family = none)]
525        pub unsafe fn artist(&self) -> Option<Retained<NSString>>;
526
527        /// Setter for [`artist`][Self::artist].
528        ///
529        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
530        #[unsafe(method(setArtist:))]
531        #[unsafe(method_family = none)]
532        pub unsafe fn setArtist(&self, artist: Option<&NSString>);
533
534        #[unsafe(method(audioTrackNumber))]
535        #[unsafe(method_family = none)]
536        pub unsafe fn audioTrackNumber(&self) -> Option<Retained<NSNumber>>;
537
538        /// Setter for [`audioTrackNumber`][Self::audioTrackNumber].
539        #[unsafe(method(setAudioTrackNumber:))]
540        #[unsafe(method_family = none)]
541        pub unsafe fn setAudioTrackNumber(&self, audio_track_number: Option<&NSNumber>);
542
543        #[unsafe(method(recordingDate))]
544        #[unsafe(method_family = none)]
545        pub unsafe fn recordingDate(&self) -> Option<Retained<NSDate>>;
546
547        /// Setter for [`recordingDate`][Self::recordingDate].
548        #[unsafe(method(setRecordingDate:))]
549        #[unsafe(method_family = none)]
550        pub unsafe fn setRecordingDate(&self, recording_date: Option<&NSDate>);
551
552        #[unsafe(method(musicalGenre))]
553        #[unsafe(method_family = none)]
554        pub unsafe fn musicalGenre(&self) -> Option<Retained<NSString>>;
555
556        /// Setter for [`musicalGenre`][Self::musicalGenre].
557        ///
558        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
559        #[unsafe(method(setMusicalGenre:))]
560        #[unsafe(method_family = none)]
561        pub unsafe fn setMusicalGenre(&self, musical_genre: Option<&NSString>);
562
563        #[unsafe(method(isGeneralMIDISequence))]
564        #[unsafe(method_family = none)]
565        pub unsafe fn isGeneralMIDISequence(&self) -> Option<Retained<NSNumber>>;
566
567        /// Setter for [`isGeneralMIDISequence`][Self::isGeneralMIDISequence].
568        #[unsafe(method(setGeneralMIDISequence:))]
569        #[unsafe(method_family = none)]
570        pub unsafe fn setGeneralMIDISequence(&self, general_midi_sequence: Option<&NSNumber>);
571
572        #[unsafe(method(musicalInstrumentCategory))]
573        #[unsafe(method_family = none)]
574        pub unsafe fn musicalInstrumentCategory(&self) -> Option<Retained<NSString>>;
575
576        /// Setter for [`musicalInstrumentCategory`][Self::musicalInstrumentCategory].
577        ///
578        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
579        #[unsafe(method(setMusicalInstrumentCategory:))]
580        #[unsafe(method_family = none)]
581        pub unsafe fn setMusicalInstrumentCategory(
582            &self,
583            musical_instrument_category: Option<&NSString>,
584        );
585
586        #[unsafe(method(musicalInstrumentName))]
587        #[unsafe(method_family = none)]
588        pub unsafe fn musicalInstrumentName(&self) -> Option<Retained<NSString>>;
589
590        /// Setter for [`musicalInstrumentName`][Self::musicalInstrumentName].
591        ///
592        /// This is [copied][objc2_foundation::NSCopying::copy] when set.
593        #[unsafe(method(setMusicalInstrumentName:))]
594        #[unsafe(method_family = none)]
595        pub unsafe fn setMusicalInstrumentName(&self, musical_instrument_name: Option<&NSString>);
596    );
597}