AVPlayer.RemoveTimeObserver(NSObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes periodic or boundary-time observers.
[Foundation.Export("removeTimeObserver:")]
public virtual void RemoveTimeObserver (Foundation.NSObject observer);
abstract member RemoveTimeObserver : Foundation.NSObject -> unit
override this.RemoveTimeObserver : Foundation.NSObject -> unit
Parameters
- observer
- NSObject
The object returned when the observer was registered with AddBoundaryTimeObserver(NSValue[], DispatchQueue, Action) or AddPeriodicTimeObserver(CMTime, DispatchQueue, Action<CMTime>).
- Attributes
Remarks
When disposing observers, this method must be called for every handler added with AddBoundaryTimeObserver(NSValue[], DispatchQueue, Action) or AddPeriodicTimeObserver(CMTime, DispatchQueue, Action<CMTime>).