OnlineVideo class

OnlineVideo class

Represents an image that is hosted online.

Syntax


public sealed class OnlineVideo : IOnlineMediaItem

Members

The OnlineVideo class has these types of members:

Methods

The OnlineVideo class has these methods. It also inherits methods from the Object class.

MethodDescription
GetContentAsync Retrieves a stream containing the image data for the online video
GetPictureAlbumAsync Retrieves the OnlinePictureAlbum associated with the online video
GetThumbnailLargeAsync Retrieves a stream containing the image data for the large thumbnail for the online picture.
GetThumbnailSmallAsync Retrieves a stream containing the image data for the small thumbnail for the online picture.
SetContentAsync Sets the content of the online video.
SetThumbnailLargeAsync Sets the content of the large thumbnail for the online video
SetThumbnailSmallAsync Sets the content of the small thumbnail for the online video

 

Properties

The OnlineVideo class has these properties.

PropertyAccess typeDescription

ContentUrl

Read/write

Gets or sets the url of the online video

CreationTime

Read/write

Gets or sets the time that a media item was created. Used to enable sorting media items by date.

Duration

Read/write

Gets or sets the duration of the online video.

Height

Read-only

Gets the height of the online video

Id

Read-only

Gets a string that uniquely identifies the online video on the device.

RemoteId

Read-only

Gets a string that identifies the online video for the service that hosts it.

ThumbnailLargeUrl

Read/write

Gets or sets the url of the large thumbnail for the online video

ThumbnailSmallUrl

Read/write

Gets or sets the url of the small thumbnail for the online picture.

Title

Read/write

Gets or sets the title of the online video.

Width

Read-only

Gets the width of the online video.

 

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

Windows.Phone.SocialInformation.OnlineMedia
Windows::Phone::SocialInformation::OnlineMedia [C++]

Metadata

Windows.WinMD

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

See also

Object
IOnlineMediaItem

 

 

Show:
© 2017 Microsoft