com.day.cq.wcm.mobile.api.device.capability.Images Maven / Gradle / Ivy
/*
* Copyright 1997-2008 Day Management AG
* Barfuesserplatz 6, 4001 Basel, Switzerland
* All Rights Reserved.
*
* This software is the confidential and proprietary information of
* Day Management AG, ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Day.
*/
package com.day.cq.wcm.mobile.api.device.capability;
import com.day.cq.wcm.mobile.api.devicespecs.DeviceSpecsConstants;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Service;
/**
* Expresses image support of a mobile device.
*
* @deprecated will be removed and privatized, as capabilities are now available via {@link
* com.day.cq.wcm.mobile.api.device.DeviceMapper#getCapabilities()}
*/
@Component(metatype = false)
@Service
@SuppressWarnings("unused")
public class Images implements DeviceCapability {
private static final String[] KEYS = {DeviceSpecsConstants.DSPEC_IMAGE_FORMAT_JPG, DeviceSpecsConstants.DSPEC_IMAGE_FORMAT_PNG};
/**
* For translations:
* i18n.get("Image Support");
* i18n.get("Indicates whether the device supports image display")
*/
/**
* {@inheritDoc}
*/
public String getName() {
return getClass().getName();
}
/**
* {@inheritDoc}
*/
public String getTitle() {
return "Image Support";
}
public String getDescription() {
return "Indicates whether the device supports image display";
}
public String[] getKeys() {
return KEYS;
}
}