1 // Copyright 2015 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 package org.chromium.chromoting.help; 6 7 import androidx.annotation.IntDef; 8 9 import java.lang.annotation.Retention; 10 import java.lang.annotation.RetentionPolicy; 11 12 /** 13 * Enumeration of contexts from which the user could request help in the application. The 14 * HelpAndFeedback implementation is responsible for displaying an appropriate Help article for 15 * each context. 16 */ 17 @IntDef({HelpContext.HOST_LIST, HelpContext.HOST_SETUP, HelpContext.DESKTOP}) 18 @Retention(RetentionPolicy.SOURCE) 19 public @interface HelpContext { 20 // Help for the host-list screen. 21 int HOST_LIST = 0; 22 23 // Help on setting up a new host. 24 int HOST_SETUP = 1; 25 26 // Help for the connected desktop screen, including touch gestures. 27 int DESKTOP = 2; 28 } 29