Package | com.brightcove.api.events |
Class | public class ShortenedLinkEvent |
Inheritance | ShortenedLinkEvent ![]() |
SocialModule
's getLink()
and isURLShortenedForMedia()
in order to determine if a shortened link to particular media has already been retrieved, allowing the setting
up of a listener for this event if the link must first be requested.
Property | Defined By | ||
---|---|---|---|
media : MediaDTO
The media for which the link has been generated. | ShortenedLinkEvent | ||
url : String
The shortened link URL to the player and media. | ShortenedLinkEvent |
Method | Defined By | ||
---|---|---|---|
ShortenedLinkEvent(type:String, url:String, media:MediaDTO)
Constructor. | ShortenedLinkEvent | ||
clone():Event [override]
Returns a copy of the event instance. | ShortenedLinkEvent |
Constant | Defined By | ||
---|---|---|---|
LINK_GENERATED : String = linkGenerated [static]
The ShortenedLinkEvent.LINK_GENERATED constant defines the value of the
type property of the event object for a
linkGenerated event. | ShortenedLinkEvent |
media | property |
public var media:MediaDTO
The media for which the link has been generated.
url | property |
public var url:String
The shortened link URL to the player and media.
ShortenedLinkEvent | () | Constructor |
public function ShortenedLinkEvent(type:String, url:String, media:MediaDTO)
Constructor.
Parameterstype:String — name if the event.
| |
url:String — embed code snippet connected with the event.
| |
media:MediaDTO |
clone | () | method |
override public function clone():Event
Returns a copy of the event instance.
ReturnsEvent — A copy of the event.
|
LINK_GENERATED | Constant |
public static const LINK_GENERATED:String = linkGenerated
The ShortenedLinkEvent.LINK_GENERATED constant defines the value of the
type
property of the event object for a
linkGenerated
event.