編輯

共用方式為


IAVAudioPlayerDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol AVAudioPlayerDelegate.

[Foundation.Protocol(Name="AVAudioPlayerDelegate", WrapperType=typeof(AVFoundation.AVAudioPlayerDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IAVAudioPlayerDelegate : IDisposable, ObjCRuntime.INativeObject
type IAVAudioPlayerDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by AVAudioPlayerDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the AVAudioPlayerDelegate protocol.

Optional methods (if any) are provided by the AVAudioPlayerDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

BeginInterruption(IAVAudioPlayerDelegate, AVAudioPlayer)

Developers should not use this deprecated method.

DecoderError(IAVAudioPlayerDelegate, AVAudioPlayer, NSError)
EndInterruption(IAVAudioPlayerDelegate, AVAudioPlayer, AVAudioSessionInterruptionFlags)
EndInterruption(IAVAudioPlayerDelegate, AVAudioPlayer)
FinishedPlaying(IAVAudioPlayerDelegate, AVAudioPlayer, Boolean)

Applies to