Interface SupportsCalendarAccessAuthorizedOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsCalendarAccessAuthorizedOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCALENDAR_ACCESS_AUTHORIZED_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default TcalendarAccessAuthorized()Enable calendar access on IOS Simulator.default java.util.Optional<java.lang.Boolean>doesCalendarAccessAuthorized()Get whether to enable calendar access on IOS Simulator.default TsetCalendarAccessAuthorized(boolean value)Set this to true if you want to enable calendar access on IOS Simulator with given bundleId.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
CALENDAR_ACCESS_AUTHORIZED_OPTION
static final java.lang.String CALENDAR_ACCESS_AUTHORIZED_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
calendarAccessAuthorized
default T calendarAccessAuthorized()
Enable calendar access on IOS Simulator.- Returns:
- self instance for chaining.
-
setCalendarAccessAuthorized
default T setCalendarAccessAuthorized(boolean value)
Set this to true if you want to enable calendar access on IOS Simulator with given bundleId. Set to false, if you want to disable calendar access on IOS Simulator with given bundleId. If not set, the calendar authorization status will not be set.- Parameters:
value- Whether to enable calendar access on IOS Simulator.- Returns:
- self instance for chaining.
-
doesCalendarAccessAuthorized
default java.util.Optional<java.lang.Boolean> doesCalendarAccessAuthorized()
Get whether to enable calendar access on IOS Simulator.- Returns:
- True or false.
-
-