添加了对Notes类的注释

qjy
GenshinGanyu 2 years ago
parent dbf43d2653
commit ab41e8045b

@ -67,6 +67,9 @@ public class Notes {
*/ */
public static final Uri CONTENT_DATA_URI = Uri.parse("content://" + AUTHORITY + "/data"); public static final Uri CONTENT_DATA_URI = Uri.parse("content://" + AUTHORITY + "/data");
/**
* NoteColumns,
*/
public interface NoteColumns { public interface NoteColumns {
/** /**
* The unique ID for a row * The unique ID for a row
@ -172,6 +175,9 @@ public class Notes {
*/ */
public static final String VERSION = "version"; public static final String VERSION = "version";
} }
/**
* 便
*/
public interface DataColumns { public interface DataColumns {
/** /**
@ -245,7 +251,9 @@ public class Notes {
* <P> Type: TEXT </P> * <P> Type: TEXT </P>
*/ */
public static final String DATA5 = "data5"; public static final String DATA5 = "data5";
} }/**
* DATA便
*/
public static final class TextNote implements DataColumns { public static final class TextNote implements DataColumns {
/** /**
@ -261,7 +269,9 @@ public class Notes {
public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/text_note"; public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/text_note";
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/text_note"); public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/text_note");
} }/**
*
*/
public static final class CallNote implements DataColumns { public static final class CallNote implements DataColumns {
/** /**
@ -281,5 +291,7 @@ public class Notes {
public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/call_note"; public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/call_note";
public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/call_note"); public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/call_note");
} }/**
*
*/
} }

Loading…
Cancel
Save