DeviceRotation.java 895 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  org.apache.felix.scr.annotations.Component
 *  org.apache.felix.scr.annotations.Service
 */
package com.day.cq.wcm.mobile.api.device.capability;

import com.day.cq.wcm.mobile.api.device.capability.DeviceCapability;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Service;

@Component(metatype=0)
@Service
public class DeviceRotation
implements DeviceCapability {
    private static final String[] KEYS = new String[]{"dual_orientation"};

    public String getName() {
        return this.getClass().getName();
    }

    public String getTitle() {
        return "Device Rotation Support";
    }

    public String getDescription() {
        return "Indicates whether the device supports rotation.";
    }

    public String[] getKeys() {
        return KEYS;
    }
}