Package com.biglybt.core.devices.impl
Class DeviceMediaRendererTemplateImpl
java.lang.Object
com.biglybt.core.devices.impl.DeviceMediaRendererTemplateImpl
- All Implemented Interfaces:
DeviceMediaRendererTemplate
,DeviceTemplate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
private final String
private final DeviceManagerImpl
private final String
private final String
private List
<TranscodeProfile> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DeviceMediaRendererTemplateImpl
(DeviceManagerImpl _manager, String _classification, boolean _auto) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addProfile
(TranscodeProfile profile) createInstance
(String name) auto devices can't be manually createdcreateInstance
(String name, String uid, boolean manual) getName()
int
int
getType()
boolean
isAuto()
-
Field Details
-
profiles
-
manager
-
classification
-
name
-
manufacturer
-
auto
private final boolean auto
-
-
Constructor Details
-
DeviceMediaRendererTemplateImpl
protected DeviceMediaRendererTemplateImpl(DeviceManagerImpl _manager, String _classification, boolean _auto)
-
-
Method Details
-
addProfile
-
getProfiles
- Specified by:
getProfiles
in interfaceDeviceMediaRendererTemplate
-
getType
public int getType()- Specified by:
getType
in interfaceDeviceTemplate
-
getName
- Specified by:
getName
in interfaceDeviceTemplate
-
getManufacturer
- Specified by:
getManufacturer
in interfaceDeviceTemplate
-
getClassification
- Specified by:
getClassification
in interfaceDeviceTemplate
-
getShortDescription
- Specified by:
getShortDescription
in interfaceDeviceTemplate
-
getRendererSpecies
public int getRendererSpecies()- Specified by:
getRendererSpecies
in interfaceDeviceMediaRendererTemplate
-
isAuto
public boolean isAuto()- Specified by:
isAuto
in interfaceDeviceTemplate
-
createInstance
Description copied from interface:DeviceTemplate
auto devices can't be manually created- Specified by:
createInstance
in interfaceDeviceTemplate
- Parameters:
name
-- Returns:
- Throws:
DeviceManagerException
-
createInstance
- Specified by:
createInstance
in interfaceDeviceTemplate
- Throws:
DeviceManagerException
-