共用方式為


LicenseMetadata setNotificationPreference method

Sets the notification preference of the document to be tracked. This property is optional.

Signature

public void setNotificationPreference(NotificationPreference notificationPreference)

Parameters

Parameter Datatype Notes
notificationPreference
NotificationPreference
Optional
If this property is not set, the system behaves as if its set to NOTIFICATION_PREF_DEFAULT.

Defined in

LicenseMetadata.java

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)