IActiveBasicDevice interface
Represents an active IBasicDevice that is associated with a UPnP device.
Methods
The IActiveBasicDevice interface has these methods.
| Method | Description |
|---|---|
| IActiveBasicDevice::GetCachedBitrateMeasurement | Gets the cached bitrate. |
| IActiveBasicDevice::GetCachedExtraSinkProtocolInfo | Gets additional cached sink protocol info for the device. |
| IActiveBasicDevice::GetCachedSinkProtocolInfo | Gets the cached sink protocol info for the device. |
| IActiveBasicDevice::SetCachedBitrateMeasurement | Sets the cached bitrate. |
| IActiveBasicDevice::SetCachedSinkProtocolInfo | Gets the cached sink protocol info for the device. |
| IActiveBasicDevice::GetEffectiveBandwidth | Gets the current effective bandwidth for the device. |
| IActiveBasicDevice::NotifyStreamingStatus | Called by the application to indicate that the device is being used for active streaming. |
Remarks
An IActiveBasicDevice is associated with a UPnP device. To retrieve a pointer to the underlying IUPnPDevice, IServiceProvider->QueryService can be used with GUID_NativeDeviceService to get native interfaces for the device.
For example, you can retrieve a IUPnPDevice pointer as follows:
pActiveBasicDevice->QueryService( GUID_NativeDeviceService, IID_IUPnPDevice, (void **)&spUPnPDevice );
Requirements
| Minimum supported client | Windows 8.1 [desktop apps only] |
| Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
| Target Platform | Windows |
| Header | windows.media.streaming.h |