←Select platform

AnnMedia Class

Summary
Defines a media (audio or video) source.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public class AnnMedia 
@interface LTAnnMedia : NSObject<NSCoding, NSCopying> 
public class AnnMedia 
public: 
   ref class AnnMedia 
class AnnMedia: 
Remarks

The AnnMedia class defines a (audio or video) media source. The design of this object follows HTML 5 video and audio tags. The class contains the following properties:

Property Description
Source1 The URL to the main media file. The LEADTOOLS annotations is designed to work similar to HTML 5 video or audio tag. The automation will try to play this source, if it fails, the first alternate source at Source2 will be tried. If that fails, the second alternate source at Source2 will be tried. For more information, refer to the HTML 5 video tag.
Type1 The media type for Source1. Similar to HTML 5 media type for the HTML 5 video tag. Media types are currently not used by LEADTOOLS.
Source2 The URL to the first alternate media file.
Type2 The media type for Source2.
Source3 The URL to the second alternate media file.
Type3 The media type for Source3.
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.