PendingDevice.java 911 Bytes
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  javax.annotation.CheckForNull
 *  javax.annotation.Nonnull
 *  org.apache.sling.commons.json.JSONObject
 */
package com.adobe.cq.screens.device.registration;

import com.adobe.cq.screens.device.registration.RegistrationResult;
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
import org.apache.sling.commons.json.JSONObject;

public interface PendingDevice {
    @Nonnull
    public String getToken();

    @Nonnull
    public State getState();

    @CheckForNull
    public String getRegistrationCode();

    @Nonnull
    public JSONObject getMetadata();

    @CheckForNull
    public RegistrationResult getRegistrationResult();

    public static enum State {
        UNREGISTERED,
        PREREGISTRATION,
        REGISTRATION,
        REGISTERED;
        

        private State() {
        }
    }

}