Skip to content

Commit

Permalink
[src] Import xml docs for members, part 5.
Browse files Browse the repository at this point in the history
This has to be done in parts, because the Roslyn importer runs out of memory otherwise.

Which also means I have no idea how many parts there will end up being.

Partial fix for #17399.
  • Loading branch information
rolfbjarne committed Mar 7, 2025
1 parent f14b020 commit d1e2604
Show file tree
Hide file tree
Showing 135 changed files with 8,289 additions and 2,664 deletions.
144 changes: 137 additions & 7 deletions docs/api/AVFoundation/AVAsset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,145 @@
<related type="externalDocumentation" href="https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVAsset_Class/index.html">Apple documentation for <c>AVAsset</c></related>
</Docs>
<Docs DocId="P:AVFoundation.AVAsset.ChapterMetadataGroupsDidChangeNotification">
<summary>Notification constant for ChapterMetadataGroupsDidChange</summary>
<summary>Notification constant for ChapterMetadataGroupsDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
AVAsset.ChapterMetadataGroupsDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification AVAsset", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.ChapterMetadataGroupsDidChangeNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
<Docs DocId="P:AVFoundation.AVAsset.DurationDidChangeNotification">
<summary>Notification constant for DurationDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
AVAsset.DurationDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification AVAsset", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.DurationDidChangeNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
<Docs DocId="P:AVFoundation.AVAsset.MediaSelectionGroupsDidChangeNotification">
<summary>Notification constant for MediaSelectionGroupsDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
AVAsset.MediaSelectionGroupsDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification AVAsset", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.MediaSelectionGroupsDidChangeNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
<Docs DocId="P:AVFoundation.AVAsset.WasDefragmentedNotification">
<summary>Notification constant for WasDefragmented</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification, also developers can use the strongly typed notification <see cref="M:AVFoundation.AVAsset.Notifications.ObserveWasDefragmented*" /> instead. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
AVAsset.WasDefragmentedNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification AVAsset", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.WasDefragmentedNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
<Docs DocId="P:AVFoundation.AVAsset.ContainsFragmentsDidChangeNotification">
<summary>Notification constant for ContainsFragmentsDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification, also developers can use the strongly typed notification <see cref="M:AVFoundation.AVAsset.Notifications.ObserveContainsFragmentsDidChange*" /> instead. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
AVAsset.ContainsFragmentsDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
// Method style
void Callback (NSNotification notification)
{
Console.WriteLine ("Received a notification AVAsset", notification);
}
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.ContainsFragmentsDidChangeNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
<Docs DocId="P:AVFoundation.AVAsset.DurationDidChangeNotification">
<summary>Notification constant for DurationDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
AVAsset.ChapterMetadataGroupsDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
AVAsset.DurationDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
// Method style
Expand All @@ -31,22 +161,22 @@ void Callback (NSNotification notification)
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.ChapterMetadataGroupsDidChangeNotification, Callback);
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.DurationDidChangeNotification, Callback);
}
]]></code>
</example>
</remarks>
</Docs>
<Docs DocId="P:AVFoundation.AVAsset.DurationDidChangeNotification">
<summary>Notification constant for DurationDidChange</summary>
<Docs DocId="P:AVFoundation.AVAsset.ChapterMetadataGroupsDidChangeNotification">
<summary>Notification constant for ChapterMetadataGroupsDidChange</summary>
<value>NSString constant, should be used as a token to NSNotificationCenter.</value>
<remarks>
<para id="tool-remark">This constant can be used with the <see cref="T:Foundation.NSNotificationCenter" /> to register a listener for this notification. This is an NSString instead of a string, because these values can be used as tokens in some native libraries instead of being used purely for their actual string content. The 'notification' parameter to the callback contains extra information that is specific to the notification type.</para>
<example>
<code lang="csharp lang-csharp"><![CDATA[
// Lambda style
NSNotificationCenter.DefaultCenter.AddObserver (
AVAsset.DurationDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
AVAsset.ChapterMetadataGroupsDidChangeNotification, (notification) => {Console.WriteLine ("Received the notification AVAsset", notification); }
// Method style
Expand All @@ -57,7 +187,7 @@ void Callback (NSNotification notification)
void Setup ()
{
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.DurationDidChangeNotification, Callback);
NSNotificationCenter.DefaultCenter.AddObserver (AVAsset.ChapterMetadataGroupsDidChangeNotification, Callback);
}
]]></code>
</example>
Expand Down
Loading

0 comments on commit d1e2604

Please sign in to comment.