|
|
|
@ -19,7 +19,7 @@ package net.micode.notes.data;
|
|
|
|
|
import android.net.Uri;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
*功能描述:Notes 类中定义一些常量,用于构造便签内容及类型
|
|
|
|
|
*功能描述:用于存储便签数据,包含了一条便签的各种属性,如标题、内容、创建时间、修改时间等
|
|
|
|
|
*/
|
|
|
|
|
public class Notes {
|
|
|
|
|
public static final String AUTHORITY = "micode_notes"; // 定义内容提供器的权限
|
|
|
|
@ -267,7 +267,7 @@ public class Notes {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 功能描述:定义了文本便签的数据结构
|
|
|
|
|
* 定义了文本便签的数据结构
|
|
|
|
|
*/
|
|
|
|
|
public static final class TextNote implements DataColumns {
|
|
|
|
|
/**
|
|
|
|
@ -286,7 +286,7 @@ public class Notes {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 功能描述:定义电话便签的数据结构
|
|
|
|
|
* 定义电话便签的数据结构
|
|
|
|
|
*/
|
|
|
|
|
public static final class CallNote implements DataColumns {
|
|
|
|
|
/**
|
|
|
|
|