Share via


AudioPlayerAgent Class

Inheritance Hierarchy

System.Object
  Microsoft.Phone.BackgroundAgent
    Microsoft.Phone.BackgroundAudio.AudioPlayerAgent

Namespace:  Microsoft.Phone.BackgroundAudio
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

'Declaration
Public Class AudioPlayerAgent _
    Inherits BackgroundAgent
public class AudioPlayerAgent : BackgroundAgent
public ref class AudioPlayerAgent : public BackgroundAgent
type AudioPlayerAgent =  
    class 
        inherit BackgroundAgent 
    end

The AudioPlayerAgent type exposes the following members.

Constructors

  Name Description
Public method AudioPlayerAgent

Top

Methods

  Name Description
Protected method Abort (Inherited from BackgroundAgent.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method NotifyComplete (Inherited from BackgroundAgent.)
Protected method OnCancel (Inherited from BackgroundAgent.)
Protected method OnError
Protected method OnPlayStateChanged
Protected method OnUserAction
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Phone.BackgroundAudio Namespace