Skip to main content

Responsibilities as it relates to the "parental rating" UserPreference vs. MediaAccessHandlerRegistrar

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
david_crandall
Offline
Joined: 2010-01-05

I was curious if anyone had some clarification regarding this topic...
So I can set and get the "parental rating" in UserPreferenceManager. This is all well and good, but...
1.) Is it also my responsibility to adjust MediaAccessHandlerRegistrar.setSignaledBlocking(rating)?
2.) If this is the case, if I write to UserPreferenceManager, that should trigger an event, one listener of this UserPreferenceChangeListener is in AbstractServicePlayer.java (line 212). This listener gets the rating change in my UserPreferences, but compares it against the rating within the system currently. So do we need to make sure we call MediaAccessHandlerRegistrar.setSignaledBlocking before we write the userpreferencemanager?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
david_crandall
Offline
Joined: 2010-01-05