TransportActions (Compact 7)

3/12/2014

This structure represents the valid transport control actions at this time for the AVTransport service instance.

Syntax

struct TransportActions
{
  bool bPlay;
  bool bStop;
  bool bPause;
  bool bSeek;
  bool bNext;
  bool bPrevious;
  bool bRecord;
};

Members

  • bPlay
    If true, the AVTransport instance supports a Play action at this time.
  • bStop
    If true, the AVTransport instance supports a Stop action at this time.
  • bPause
    If true, the AVTransport instance supports a Pause action at this time.
  • bSeek
    If true, the AVTransport instance supports a Seek action at this time.
  • bNext
    If true, the AVTransport instance supports a Next action at this time.
  • bPrevious
    If true, the AVTransport instance supports a Previous action at this time.
  • bRecord
    If true, the AVTransport instance supports a Record action at this time.

Remarks

You can retrieve information about the currently supported transport actions using IAVTransport::GetCurrentTransportActions.

The members of this structure correspond to an OUT parameter in the AVTransport service's GetCurrentTransportActions action. The action parameter returns a comma-separated list of valid actions, which this structure represents by true and false values in each corresponding member.

For more information about the actions and state variables defined by the UPnP AV DCP, see the UPnP Forum AV web site.

Requirements

Header

av_upnp.h

Library

Av_upnp.lib

See Also

Reference

UPnP AV Structures
IAVTransport::GetCurrentTransportActions