Class PreviewRequest.PreviewRequestBuilder
java.lang.Object
com.amilesend.onedrive.resource.request.PreviewRequest.PreviewRequestBuilder
- Enclosing class:
PreviewRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowEdit
(boolean allowEdit) Iftrue
, the file can be edited from the UI.build()
chromeless
(boolean chromeless) Iftrue
, the embedded view will omit controls.Optional page number of the document formatted as a string.toString()
The optional preview app to use.zoom
(double zoom) Optional zoom level to start at.
-
Method Details
-
viewer
The optional preview app to use. Valid values include:null
- Default and one will be chosen automatically- onedrive
- office
- Returns:
this
.
-
chromeless
Iftrue
, the embedded view will omit controls.- Returns:
this
.
-
allowEdit
Iftrue
, the file can be edited from the UI.- Returns:
this
.
-
page
Optional page number of the document formatted as a string.- Returns:
this
.
-
zoom
Optional zoom level to start at.- Returns:
this
.
-
build
-
toString
-