Show / Hide Table of Contents

Enum MediaType

Information about an ApodContent's type of media.

Namespace: Apod
Assembly: Apod.dll
Syntax
public enum MediaType : int
Remarks

There is currently only one date which does not have media content of type Image or Video.

When one tries to fetch the data for the Astronomy Picture of the Day for 2018-10-07 through the API, it returns an "Internal Service Error". This is because they decided to have interactive flash content that day, which wasn't supported by the API. This may become supported by this library in a later version.

Fields

Name Description
Image

The content is a static image.

Video

The content is a video, typically hosted on youtube or vimeo.

See Also
ApodContent
  • Improve this Doc
  • View Source
Back to top Generated by DocFX