Class FrameReplayImageInfo
-
- All Implemented Interfaces:
-
java.io.Serializable
@RestrictTo(value = RestrictTo.Scope.LIBRARY_GROUP_PREFIX) public class FrameReplayImageInfo implements Serializable
FrameReplayImageInfo
A single slide: an image, its optional expected result contents, playback behavior (hold duration + transitions), and flash gating.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumFrameReplayImageInfo.FrameReplayFlashVisibilityFrameReplayFlashVisibility
Gates this slide by the SDK-requested flash/torch state. 'always' (default): shown regardless. 'on': shown only while flash is on. 'off': shown only while flash is off. Lets a replay verify the SDK's flash control drives the frame source — e.g. a slide that only becomes readable once flash turns on.
-
Field Summary
Fields Modifier and Type Field Description public StringimagePathpublic List<FrameReplayExpectedResultContent>expectedResultContentspublic FrameReplayImageBehaviorbehaviorpublic FrameReplayImageInfo.FrameReplayFlashVisibilityflashVisibility
-
Constructor Summary
Constructors Constructor Description FrameReplayImageInfo()
-
Method Summary
Modifier and Type Method Description StringgetImagePath()Path of the image under the runner's bundled test assets. voidsetImagePath(String imagePath)Path of the image under the runner's bundled test assets. List<FrameReplayExpectedResultContent>getExpectedResultContents()Expected contents of the PluginResult produced while this slide is shown, as path/value pairs. voidsetExpectedResultContents(List<FrameReplayExpectedResultContent> expectedResultContents)Expected contents of the PluginResult produced while this slide is shown, as path/value pairs. FrameReplayImageBehaviorgetBehavior()FrameReplayImageBehavior Playback behavior for a frame-replay slide: how long it is held plus its optional fade/zoom transitions. voidsetBehavior(FrameReplayImageBehavior behavior)FrameReplayImageBehavior Playback behavior for a frame-replay slide: how long it is held plus its optional fade/zoom transitions. FrameReplayImageInfo.FrameReplayFlashVisibilitygetFlashVisibility()FrameReplayFlashVisibility Gates this slide by the SDK-requested flash/torch state. voidsetFlashVisibility(FrameReplayImageInfo.FrameReplayFlashVisibility flashVisibility)FrameReplayFlashVisibility Gates this slide by the SDK-requested flash/torch state. StringtoString()inthashCode()booleanequals(Object other)-
-
Method Detail
-
getImagePath
String getImagePath()
Path of the image under the runner's bundled test assets. (Required)
-
setImagePath
void setImagePath(String imagePath)
Path of the image under the runner's bundled test assets. (Required)
-
getExpectedResultContents
List<FrameReplayExpectedResultContent> getExpectedResultContents()
Expected contents of the PluginResult produced while this slide is shown, as path/value pairs.
-
setExpectedResultContents
void setExpectedResultContents(List<FrameReplayExpectedResultContent> expectedResultContents)
Expected contents of the PluginResult produced while this slide is shown, as path/value pairs.
-
getBehavior
FrameReplayImageBehavior getBehavior()
FrameReplayImageBehavior
Playback behavior for a frame-replay slide: how long it is held plus its optional fade/zoom transitions. Referenced per-slide (frameReplayImageInfo.behavior) and as the slideshow-wide fallback (defaultBehavior).
-
setBehavior
void setBehavior(FrameReplayImageBehavior behavior)
FrameReplayImageBehavior
Playback behavior for a frame-replay slide: how long it is held plus its optional fade/zoom transitions. Referenced per-slide (frameReplayImageInfo.behavior) and as the slideshow-wide fallback (defaultBehavior).
-
getFlashVisibility
FrameReplayImageInfo.FrameReplayFlashVisibility getFlashVisibility()
FrameReplayFlashVisibility
Gates this slide by the SDK-requested flash/torch state. 'always' (default): shown regardless. 'on': shown only while flash is on. 'off': shown only while flash is off. Lets a replay verify the SDK's flash control drives the frame source — e.g. a slide that only becomes readable once flash turns on.
-
setFlashVisibility
void setFlashVisibility(FrameReplayImageInfo.FrameReplayFlashVisibility flashVisibility)
FrameReplayFlashVisibility
Gates this slide by the SDK-requested flash/torch state. 'always' (default): shown regardless. 'on': shown only while flash is on. 'off': shown only while flash is off. Lets a replay verify the SDK's flash control drives the frame source — e.g. a slide that only becomes readable once flash turns on.
-
hashCode
int hashCode()
-
-
-
-