-
public class Accessibility.Hazard.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final Accessibility.HazardFLASHINGprivate final Accessibility.HazardNO_FLASHING_HAZARDprivate final Accessibility.HazardMOTION_SIMULATIONprivate final Accessibility.HazardNO_MOTION_SIMULATION_HAZARDprivate final Accessibility.HazardSOUNDprivate final Accessibility.HazardNO_SOUND_HAZARDprivate final Accessibility.HazardUNKNOWNprivate final Accessibility.HazardNONEpublic final static Accessibility.Hazard.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final List<Accessibility.Hazard>fromJSONArray(JSONArray json)Creates a list of Hazard from its RWPM JSON representation. final JSONArraytoJSONArray(Set<Accessibility.Hazard> $self)final Accessibility.HazardgetFLASHING()Indicates that the resource presents a flashing hazard for photosensitive persons. final Accessibility.HazardgetNO_FLASHING_HAZARD()Indicates that the resource does not present a flashing hazard. final Accessibility.HazardgetMOTION_SIMULATION()Indicates that the resource contains instances of motion simulation that may affect some individuals. final Accessibility.HazardgetNO_MOTION_SIMULATION_HAZARD()Indicates that the resource does not contain instances of motion simulation. final Accessibility.HazardgetSOUND()Indicates that the resource contains auditory sounds that may affect some individuals. final Accessibility.HazardgetNO_SOUND_HAZARD()Indicates that the resource does not contain auditory hazards. final Accessibility.HazardgetUNKNOWN()Indicates that the author is not able to determine if the resource presents any hazards. final Accessibility.HazardgetNONE()Indicates that the resource does not contain any hazards. -
-
Method Detail
-
fromJSONArray
final List<Accessibility.Hazard> fromJSONArray(JSONArray json)
Creates a list of Hazard from its RWPM JSON representation.
-
toJSONArray
final JSONArray toJSONArray(Set<Accessibility.Hazard> $self)
-
getFLASHING
final Accessibility.Hazard getFLASHING()
Indicates that the resource presents a flashing hazard for photosensitive persons.
-
getNO_FLASHING_HAZARD
final Accessibility.Hazard getNO_FLASHING_HAZARD()
Indicates that the resource does not present a flashing hazard.
-
getMOTION_SIMULATION
final Accessibility.Hazard getMOTION_SIMULATION()
Indicates that the resource contains instances of motion simulation that may affect some individuals.
Some examples of motion simulation include video games with a first-person perspective and CSS-controlled backgrounds that move when a user scrolls a page.
-
getNO_MOTION_SIMULATION_HAZARD
final Accessibility.Hazard getNO_MOTION_SIMULATION_HAZARD()
Indicates that the resource does not contain instances of motion simulation.
See MOTION_SIMULATION.
-
getSOUND
final Accessibility.Hazard getSOUND()
Indicates that the resource contains auditory sounds that may affect some individuals.
-
getNO_SOUND_HAZARD
final Accessibility.Hazard getNO_SOUND_HAZARD()
Indicates that the resource does not contain auditory hazards.
-
getUNKNOWN
final Accessibility.Hazard getUNKNOWN()
Indicates that the author is not able to determine if the resource presents any hazards.
-
getNONE
final Accessibility.Hazard getNONE()
Indicates that the resource does not contain any hazards.
-
-
-
-