sbRemoteWebMediaItem Class Reference

#include <sbRemoteWebMediaItem.h>

Inheritance diagram for sbRemoteWebMediaItem:
[legend]
Collaboration diagram for sbRemoteWebMediaItem:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS_INHERITED
virtual NS_DECL_NSICLASSINFO
nsresult 
Init ()
 
 sbRemoteWebMediaItem (sbRemotePlayer *aRemotePlayer, sbIMediaItem *aMediaItem)
 
- Public Member Functions inherited from sbRemoteMediaItem
 NS_FORWARD_SAFE_SBIMEDIAITEM (mMediaItem)
 
 NS_FORWARD_SAFE_NSISECURITYCHECKEDCOMPONENT (mSecurityMixin)
 
virtual already_AddRefed
< sbIMediaItem
GetMediaItem ()
 
 sbRemoteMediaItem (sbRemotePlayer *aRemotePlayer, sbIMediaItem *aMediaItem)
 
- Public Member Functions inherited from sbIMediaItem
void testIsURIAvailable (in nsIObserver aObserver)
 Test if this media item is available for playback. More...
 
nsIChannel openInputStreamAsync (in nsIStreamListener aListener, in nsISupports aContext)
 Asynchronously get an input stream to the content of the media item. More...
 
nsIInputStream openInputStream ()
 Synchronously get an input stream to the content of the media item. More...
 
nsIOutputStream openOutputStream ()
 Get an output stream to the content of the media item. More...
 
AString toString ()
 Get a string representation of the media item, useful for debugging. More...
 
- Public Member Functions inherited from sbILibraryResource
AString getProperty (in AString aID)
 Get the value of a property of this resource. More...
 
void setProperty (in AString aID, in AString aValue)
 Set the value of a property on this resource. More...
 
sbIPropertyArray getProperties ([optional] in sbIPropertyArray aPropertyIDs)
 Get properties from this resource in a property array. More...
 
void setProperties (in sbIPropertyArray aProperties)
 Sets the properties and values in the supplied property array to this resource. This works as if you called setProperty on each property in the array. More...
 
boolean equals (in sbILibraryResource aOtherLibraryResource)
 Tests the equality of two library resources. More...
 

Protected Member Functions

virtual ~sbRemoteWebMediaItem ()
 
- Protected Member Functions inherited from sbRemoteMediaItem
virtual ~sbRemoteMediaItem ()
 

Additional Inherited Members

- Public Attributes inherited from sbISecurityAggregator
readonly attribute sbIRemotePlayer remotePlayer
 
- Public Attributes inherited from sbIMediaItem
readonly attribute sbILibrary library
 The library that this media item is contained in. More...
 
readonly attribute boolean isMutable
 Can the media item be changed? More...
 
readonly attribute
sbIMediaItemController 
itemController
 An interface to the media item controller (if any) that determines this item's availability for playback. More...
 
attribute long long mediaCreated
 Creation time of the media item as a unix timestamp. More...
 
attribute long long mediaUpdated
 Last modification time of the media item as a unix timestamp. More...
 
attribute nsIURI contentSrc
 A nsIURI that resolves to the content of the media item. More...
 
attribute long long contentLength
 Size (in bytes) of the content of the media item. More...
 
attribute AString contentType
 Content type of the content of the media item, typically a mime type (should this be renamed?) More...
 
- Public Attributes inherited from sbILibraryResource
readonly attribute AString guid
 The guid of this resource. More...
 
readonly attribute long long created
 The creation time of this resource as a unix timestamp. More...
 
readonly attribute long long updated
 The last update time of this resource as a unix timestamp. More...
 
readonly attribute
nsIStringEnumerator 
propertyIDs
 Returns a string enumerator of the IDs of all the properties set on this resource. More...
 
readonly attribute boolean userEditable
 True if users should be allowed to modify the resource. More...
 
- Protected Attributes inherited from sbRemoteMediaItem
nsCOMPtr
< nsISecurityCheckedComponent
mSecurityMixin
 
nsRefPtr< sbRemotePlayermRemotePlayer
 
nsCOMPtr< sbIMediaItemmMediaItem
 
nsCOMPtr< sbILibraryResourcemRemLibraryResource
 

Detailed Description

Definition at line 36 of file sbRemoteWebMediaItem.h.

Constructor & Destructor Documentation

sbRemoteWebMediaItem::sbRemoteWebMediaItem ( sbRemotePlayer aRemotePlayer,
sbIMediaItem aMediaItem 
)

Definition at line 96 of file sbRemoteWebMediaItem.cpp.

sbRemoteWebMediaItem::~sbRemoteWebMediaItem ( )
protectedvirtual

Definition at line 103 of file sbRemoteWebMediaItem.cpp.

Member Function Documentation

nsISecurityCheckedComponent nsresult sbRemoteWebMediaItem::Init ( )
virtual

Reimplemented from sbRemoteMediaItem.

Definition at line 94 of file sbRemoteWebMediaItem.cpp.


The documentation for this class was generated from the following files: