net7.0-ios
namespace UserNotificationsUI
{
[Protocol(Name = "UNNotificationContentExtension", WrapperType = typeof(UNNotificationContentExtensionWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PlayMedia", Selector = "mediaPlay")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PauseMedia", Selector = "mediaPause")]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "DidReceiveNotification", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(UNNotification) }, Selector = "didReceiveNotification:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidReceiveNotificationResponse", ParameterBlockProxy = new[] { null, typeof(NIDActionArity1V264) }, ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UNNotificationResponse), typeof(Action<UNNotificationContentExtensionResponseOption>) }, Selector = "didReceiveNotificationResponse:completionHandler:")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "mediaPlayPauseButtonType", IsProperty = true, IsRequired = false, IsStatic = false, Name = "MediaPlayPauseButtonType", PropertyType = typeof(UNNotificationContentExtensionMediaPlayPauseButtonType), Selector = "mediaPlayPauseButtonType")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Assign, GetterSelector = "mediaPlayPauseButtonFrame", IsProperty = true, IsRequired = false, IsStatic = false, Name = "MediaPlayPauseButtonFrame", PropertyType = typeof(CGRect), Selector = "mediaPlayPauseButtonFrame")]
[ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "mediaPlayPauseButtonTintColor", IsProperty = true, IsRequired = false, IsStatic = false, Name = "MediaPlayPauseButtonTintColor", PropertyType = typeof(UIColor), Selector = "mediaPlayPauseButtonTintColor")]
[SupportedOSPlatform("ios10.0")]
[SupportedOSPlatform("macos11.0")]
[SupportedOSPlatform("maccatalyst14.0")]
[UnsupportedOSPlatform("tvos")]
public interface IUNNotificationContentExtension : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("didReceiveNotification:")]
[Preserve(Conditional = true)]
[SupportedOSPlatform("ios10.0")]
[SupportedOSPlatform("macos11.0")]
[SupportedOSPlatform("maccatalyst14.0")]
[UnsupportedOSPlatform("tvos")]
void DidReceiveNotification(UNNotification! notification);
}
}
Assembly | Microsoft.iOS , Version=16.0.700.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Help | Documentation |
.NET | 6.0-ios6.0-maccatalyst6.0-macos7.0-ios7.0-maccatalyst7.0-macos8.0-ios8.0-maccatalyst8.0-macos9.0-ios9.0-maccatalyst9.0-macos |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|