Aktivitäten
Neuestes
False
Bannerhintergrundbild
UIAutomation-Aktivitäten
Letzte Aktualisierung 26. Apr. 2024

SetDeviceOrientation

Ändert die Ausrichtung des angeschlossenen Geräts und ruft sie anschließend wieder ab.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

SetDeviceOrientation(DeviceOrientationEnumC, MobileOptions.SetDeviceOrientationOptions)

ScreenOrientation SetDeviceOrientation(
	    DeviceOrientationEnumC screenOrientationCommand,
	    MobileOptions. SetDeviceOrientationOptions options = null
)ScreenOrientation SetDeviceOrientation(
	    DeviceOrientationEnumC screenOrientationCommand,
	    MobileOptions. SetDeviceOrientationOptions options = null
)
screenOrientationCommand DeviceOrientationEnumC
Gibt den Befehl zum Festlegen der Bildschirmausrichtung an. Die folgenden Optionen sind verfügbar:
  • Portrait
  • Landscape
  • Toggle
options MobileOptions.SetDeviceOrientationOptions
Gibt den MobileOptions.SetDeviceOrientationOptions für die SetDeviceOrientation -Aktion an. Der Standardwert ist null.

Rückgabewert

ScreenOrientation

Gibt die neue Ausrichtung des Geräts zurück.

War diese Seite hilfreich?

Hilfe erhalten
RPA lernen – Automatisierungskurse
UiPath Community-Forum
UiPath Logo weiß
Vertrauen und Sicherheit
© 2005-2024 UiPath. All rights reserved.