共用方式為


LicenseMetadata interface

Information for the document tracking feature.

The required properties are contentName and notificationType which are set by the initializing method, LicenseMetadata. The other properties are optional.

For more information, see How to: Use document tracking.

Signature

public class LicenseMetadata implements Serializable

Methods

Name Description
LicenseMetadata
Initializes a license metadata object.
getContentName
Get the name of a content to be tracked.
getContentPath
Get the content path (file path) of the tracked document.
getContentDateCreated
Get the creation date of the tracked document.
getContentDateModified
Get the last date the tracked document was modified.
getNotificationPreference
Get the type of user notification preference of the tracked document.
getNotificationType
Gets the type of user notification for the tracked document.
setContentName
Set the name of a content to be tracked.
setContentPath
Set the content path (file path) of the tracked document.
setContentDateCreated
Set the creation date of the tracked document.
setContentDateModified
Set the last date the tracked document was modified.
setNotificationPreference
Set the type of user notification preference of the tracked document.
setNotificationType
Sets the type of user notification for the tracked document.

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)

Defined in

LicenseMetadata.java

Package

com.microsoft.rightsmanagement

Thread Safety

Members of this class are not guaranteed to be thread safe.