C# 클래스 Unity.Core.System.AbstractSystem

상속: IDisplay, IHumanInteraction, IMemory, IOperatingSystem, IPower, IProcessor
파일 보기 프로젝트 열기: Appverse/appverse-mobile

보호된 프로퍼티들

프로퍼티 타입 설명
locked bool
lockedOrientation DisplayOrientation

공개 메소드들

메소드 설명
AbstractSystem ( ) : System

CopyToClipboard ( string text ) : Task
CopyToClipboard ( string text ) : bool
DismissApplication ( ) : System.Threading.Tasks.Task
DismissApplication ( ) : void
DismissSplashScreen ( ) : Task
DismissSplashScreen ( ) : bool

Dismisses the splash screen.

GetApplication ( string appName ) : App

Gets the application object given its name, matching it on the "app/config/launch-config.xml" configuration file.

GetApplication ( string appName ) : Task
GetApplications ( ) : App[]

Gets the application objects array configured on the "app/config/launch-config.xml" configuration file, if any.

GetApplications ( ) : Task
GetCPUInfo ( ) : Unity.Core.System.CPUInfo
GetCPUInfo ( ) : Task
GetConfigFileBinaryData ( ) : byte[]

Default method, to be overrided by platform implementation.

GetDisplayInfo ( ) : Unity.Core.System.DisplayInfo

Returns the information for the primary display.

GetDisplayInfo ( int displayNumber ) : Unity.Core.System.DisplayInfo
GetDisplayInfo ( ) : Task
GetDisplayInfo ( int displayNumber ) : Task
GetDisplays ( ) : Task
GetDisplays ( ) : int
GetInputButtons ( ) : InputButton[]
GetInputButtons ( ) : Task
GetInputGestures ( ) : InputGesture[]
GetInputGestures ( ) : Task
GetInputMethodCurrent ( ) : InputCapability
GetInputMethodCurrent ( ) : Task
GetInputMethods ( ) : InputCapability[]
GetInputMethods ( ) : Task
GetLocaleCurrent ( ) : System.Locale
GetLocaleCurrent ( ) : Task
GetLocaleSupported ( ) : System.Locale[]
GetLocaleSupported ( ) : Task
GetLockedOrientation ( ) : DisplayOrientation

Getter for the current locked orientation

GetLockedOrientation ( ) : Task
GetMemoryAvailable ( MemoryUse use ) : Task
GetMemoryAvailable ( MemoryUse use, MemoryType type ) : Task
GetMemoryAvailable ( MemoryUse use ) : long
GetMemoryAvailable ( MemoryUse use, MemoryType type ) : long
GetMemoryAvailableTypes ( ) : MemoryType[]
GetMemoryAvailableTypes ( ) : Task
GetMemoryStatus ( ) : Unity.Core.System.MemoryStatus
GetMemoryStatus ( MemoryType type ) : Unity.Core.System.MemoryStatus
GetMemoryStatus ( ) : Task
GetMemoryStatus ( MemoryType type ) : Task
GetMemoryTypes ( ) : MemoryType[]

Returns the available memory types from MemoryType enumeration.

GetMemoryTypes ( ) : Task
GetMemoryUses ( ) : MemoryUse[]

Returns the available memory uses from MemoryUse enumeration.

GetMemoryUses ( ) : Task
GetOSHardwareInfo ( ) : Unity.Core.System.HardwareInfo
GetOSHardwareInfo ( ) : Task
GetOSInfo ( ) : Unity.Core.System.OSInfo
GetOSInfo ( ) : Task
GetOSUserAgent ( ) : Task
GetOSUserAgent ( ) : string
GetOrientation ( int displayNumber ) : DisplayOrientation

Returns display orientation given its display number.

GetOrientation ( int displayNumber ) : Task
GetOrientationCurrent ( ) : DisplayOrientation

Returns primary display orientation.

GetOrientationCurrent ( ) : Task
GetOrientationSupported ( ) : DisplayOrientation[]

Returns the supported orientations for the primary display.

GetOrientationSupported ( int displayNumber ) : DisplayOrientation[]
GetOrientationSupported ( ) : Task
GetOrientationSupported ( int displayNumber ) : Task
GetPowerInfo ( ) : Unity.Core.System.PowerInfo
GetPowerInfo ( ) : Task
GetPowerRemainingTime ( ) : Task
GetPowerRemainingTime ( ) : long

Returns battery autonomy time if the battery is discharging or -1 if the device is connected to the main power supply.

GetUnityContext ( ) : Task
GetUnityContext ( ) : Unity.Core.System.UnityContext
IsOrientationLocked ( ) : Task
IsOrientationLocked ( ) : bool

Indicates whether the current application if currently configured to autorotate or not.

LaunchApplication ( App application, string query ) : System.Threading.Tasks.Task
LaunchApplication ( string appName, string query ) : System.Threading.Tasks.Task
LaunchApplication ( App application, string query ) : void

Launches the given application with the needed launch data paramaters as a query string ().

LaunchApplication ( string appName, string query ) : void

Launches the application given its name (matching it on the "app/config/launch-config.xml" configuration file).

LockOrientation ( bool lockOrientation, DisplayOrientation orientation ) : System.Threading.Tasks.Task
LockOrientation ( bool lockOrientation, DisplayOrientation orientation ) : void

Sets whether the current application should autorotate or not. If value is set to 'false', application's orientation will be set to the given orientation.

ShowSplashScreen ( ) : Task
ShowSplashScreen ( ) : bool

Shows the splash screen.

보호된 메소드들

메소드 설명
LoadLaunchConfig ( ) : void

Load launch config file

메소드 상세

AbstractSystem() 공개 메소드

public AbstractSystem ( ) : System
리턴 System

CopyToClipboard() 공개 추상적인 메소드

public abstract CopyToClipboard ( string text ) : Task
text string
리턴 Task

CopyToClipboard() 공개 추상적인 메소드

public abstract CopyToClipboard ( string text ) : bool
text string
리턴 bool

DismissApplication() 공개 추상적인 메소드

public abstract DismissApplication ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

DismissApplication() 공개 추상적인 메소드

public abstract DismissApplication ( ) : void
리턴 void

DismissSplashScreen() 공개 추상적인 메소드

public abstract DismissSplashScreen ( ) : Task
리턴 Task

DismissSplashScreen() 공개 추상적인 메소드

Dismisses the splash screen.
public abstract DismissSplashScreen ( ) : bool
리턴 bool

GetApplication() 공개 메소드

Gets the application object given its name, matching it on the "app/config/launch-config.xml" configuration file.
public GetApplication ( string appName ) : App
appName string App name.
리턴 App

GetApplication() 공개 추상적인 메소드

public abstract GetApplication ( string appName ) : Task
appName string
리턴 Task

GetApplications() 공개 메소드

Gets the application objects array configured on the "app/config/launch-config.xml" configuration file, if any.
public GetApplications ( ) : App[]
리턴 App[]

GetApplications() 공개 추상적인 메소드

public abstract GetApplications ( ) : Task
리턴 Task

GetCPUInfo() 공개 추상적인 메소드

public abstract GetCPUInfo ( ) : Unity.Core.System.CPUInfo
리턴 Unity.Core.System.CPUInfo

GetCPUInfo() 공개 추상적인 메소드

public abstract GetCPUInfo ( ) : Task
리턴 Task

GetConfigFileBinaryData() 공개 메소드

Default method, to be overrided by platform implementation.
public GetConfigFileBinaryData ( ) : byte[]
리턴 byte[]

GetDisplayInfo() 공개 메소드

Returns the information for the primary display.
public GetDisplayInfo ( ) : Unity.Core.System.DisplayInfo
리턴 Unity.Core.System.DisplayInfo

GetDisplayInfo() 공개 추상적인 메소드

public abstract GetDisplayInfo ( int displayNumber ) : Unity.Core.System.DisplayInfo
displayNumber int
리턴 Unity.Core.System.DisplayInfo

GetDisplayInfo() 공개 추상적인 메소드

public abstract GetDisplayInfo ( ) : Task
리턴 Task

GetDisplayInfo() 공개 추상적인 메소드

public abstract GetDisplayInfo ( int displayNumber ) : Task
displayNumber int
리턴 Task

GetDisplays() 공개 추상적인 메소드

public abstract GetDisplays ( ) : Task
리턴 Task

GetDisplays() 공개 추상적인 메소드

public abstract GetDisplays ( ) : int
리턴 int

GetInputButtons() 공개 추상적인 메소드

public abstract GetInputButtons ( ) : InputButton[]
리턴 InputButton[]

GetInputButtons() 공개 추상적인 메소드

public abstract GetInputButtons ( ) : Task
리턴 Task

GetInputGestures() 공개 추상적인 메소드

public abstract GetInputGestures ( ) : InputGesture[]
리턴 InputGesture[]

GetInputGestures() 공개 추상적인 메소드

public abstract GetInputGestures ( ) : Task
리턴 Task

GetInputMethodCurrent() 공개 추상적인 메소드

public abstract GetInputMethodCurrent ( ) : InputCapability
리턴 InputCapability

GetInputMethodCurrent() 공개 추상적인 메소드

public abstract GetInputMethodCurrent ( ) : Task
리턴 Task

GetInputMethods() 공개 추상적인 메소드

public abstract GetInputMethods ( ) : InputCapability[]
리턴 InputCapability[]

GetInputMethods() 공개 추상적인 메소드

public abstract GetInputMethods ( ) : Task
리턴 Task

GetLocaleCurrent() 공개 추상적인 메소드

public abstract GetLocaleCurrent ( ) : System.Locale
리턴 System.Locale

GetLocaleCurrent() 공개 추상적인 메소드

public abstract GetLocaleCurrent ( ) : Task
리턴 Task

GetLocaleSupported() 공개 추상적인 메소드

public abstract GetLocaleSupported ( ) : System.Locale[]
리턴 System.Locale[]

GetLocaleSupported() 공개 추상적인 메소드

public abstract GetLocaleSupported ( ) : Task
리턴 Task

GetLockedOrientation() 공개 메소드

Getter for the current locked orientation
public GetLockedOrientation ( ) : DisplayOrientation
리턴 DisplayOrientation

GetLockedOrientation() 공개 추상적인 메소드

public abstract GetLockedOrientation ( ) : Task
리턴 Task

GetMemoryAvailable() 공개 추상적인 메소드

public abstract GetMemoryAvailable ( MemoryUse use ) : Task
use MemoryUse
리턴 Task

GetMemoryAvailable() 공개 추상적인 메소드

public abstract GetMemoryAvailable ( MemoryUse use, MemoryType type ) : Task
use MemoryUse
type MemoryType
리턴 Task

GetMemoryAvailable() 공개 추상적인 메소드

public abstract GetMemoryAvailable ( MemoryUse use ) : long
use MemoryUse
리턴 long

GetMemoryAvailable() 공개 추상적인 메소드

public abstract GetMemoryAvailable ( MemoryUse use, MemoryType type ) : long
use MemoryUse
type MemoryType
리턴 long

GetMemoryAvailableTypes() 공개 추상적인 메소드

public abstract GetMemoryAvailableTypes ( ) : MemoryType[]
리턴 MemoryType[]

GetMemoryAvailableTypes() 공개 추상적인 메소드

public abstract GetMemoryAvailableTypes ( ) : Task
리턴 Task

GetMemoryStatus() 공개 추상적인 메소드

public abstract GetMemoryStatus ( ) : Unity.Core.System.MemoryStatus
리턴 Unity.Core.System.MemoryStatus

GetMemoryStatus() 공개 추상적인 메소드

public abstract GetMemoryStatus ( MemoryType type ) : Unity.Core.System.MemoryStatus
type MemoryType
리턴 Unity.Core.System.MemoryStatus

GetMemoryStatus() 공개 추상적인 메소드

public abstract GetMemoryStatus ( ) : Task
리턴 Task

GetMemoryStatus() 공개 추상적인 메소드

public abstract GetMemoryStatus ( MemoryType type ) : Task
type MemoryType
리턴 Task

GetMemoryTypes() 공개 메소드

Returns the available memory types from MemoryType enumeration.
public GetMemoryTypes ( ) : MemoryType[]
리턴 MemoryType[]

GetMemoryTypes() 공개 추상적인 메소드

public abstract GetMemoryTypes ( ) : Task
리턴 Task

GetMemoryUses() 공개 메소드

Returns the available memory uses from MemoryUse enumeration.
public GetMemoryUses ( ) : MemoryUse[]
리턴 MemoryUse[]

GetMemoryUses() 공개 추상적인 메소드

public abstract GetMemoryUses ( ) : Task
리턴 Task

GetOSHardwareInfo() 공개 추상적인 메소드

public abstract GetOSHardwareInfo ( ) : Unity.Core.System.HardwareInfo
리턴 Unity.Core.System.HardwareInfo

GetOSHardwareInfo() 공개 추상적인 메소드

public abstract GetOSHardwareInfo ( ) : Task
리턴 Task

GetOSInfo() 공개 추상적인 메소드

public abstract GetOSInfo ( ) : Unity.Core.System.OSInfo
리턴 Unity.Core.System.OSInfo

GetOSInfo() 공개 추상적인 메소드

public abstract GetOSInfo ( ) : Task
리턴 Task

GetOSUserAgent() 공개 추상적인 메소드

public abstract GetOSUserAgent ( ) : Task
리턴 Task

GetOSUserAgent() 공개 메소드

public GetOSUserAgent ( ) : string
리턴 string

GetOrientation() 공개 메소드

Returns display orientation given its display number.
public GetOrientation ( int displayNumber ) : DisplayOrientation
displayNumber int Display number.
리턴 DisplayOrientation

GetOrientation() 공개 추상적인 메소드

public abstract GetOrientation ( int displayNumber ) : Task
displayNumber int
리턴 Task

GetOrientationCurrent() 공개 메소드

Returns primary display orientation.
public GetOrientationCurrent ( ) : DisplayOrientation
리턴 DisplayOrientation

GetOrientationCurrent() 공개 추상적인 메소드

public abstract GetOrientationCurrent ( ) : Task
리턴 Task

GetOrientationSupported() 공개 메소드

Returns the supported orientations for the primary display.
public GetOrientationSupported ( ) : DisplayOrientation[]
리턴 DisplayOrientation[]

GetOrientationSupported() 공개 추상적인 메소드

public abstract GetOrientationSupported ( int displayNumber ) : DisplayOrientation[]
displayNumber int
리턴 DisplayOrientation[]

GetOrientationSupported() 공개 추상적인 메소드

public abstract GetOrientationSupported ( ) : Task
리턴 Task

GetOrientationSupported() 공개 추상적인 메소드

public abstract GetOrientationSupported ( int displayNumber ) : Task
displayNumber int
리턴 Task

GetPowerInfo() 공개 추상적인 메소드

public abstract GetPowerInfo ( ) : Unity.Core.System.PowerInfo
리턴 Unity.Core.System.PowerInfo

GetPowerInfo() 공개 추상적인 메소드

public abstract GetPowerInfo ( ) : Task
리턴 Task

GetPowerRemainingTime() 공개 추상적인 메소드

public abstract GetPowerRemainingTime ( ) : Task
리턴 Task

GetPowerRemainingTime() 공개 메소드

Returns battery autonomy time if the battery is discharging or -1 if the device is connected to the main power supply.
public GetPowerRemainingTime ( ) : long
리턴 long

GetUnityContext() 공개 추상적인 메소드

public abstract GetUnityContext ( ) : Task
리턴 Task

GetUnityContext() 공개 추상적인 메소드

public abstract GetUnityContext ( ) : Unity.Core.System.UnityContext
리턴 Unity.Core.System.UnityContext

IsOrientationLocked() 공개 추상적인 메소드

public abstract IsOrientationLocked ( ) : Task
리턴 Task

IsOrientationLocked() 공개 메소드

Indicates whether the current application if currently configured to autorotate or not.
public IsOrientationLocked ( ) : bool
리턴 bool

LaunchApplication() 공개 추상적인 메소드

public abstract LaunchApplication ( App application, string query ) : System.Threading.Tasks.Task
application App
query string
리턴 System.Threading.Tasks.Task

LaunchApplication() 공개 추상적인 메소드

public abstract LaunchApplication ( string appName, string query ) : System.Threading.Tasks.Task
appName string
query string
리턴 System.Threading.Tasks.Task

LaunchApplication() 공개 추상적인 메소드

Launches the given application with the needed launch data paramaters as a query string ().
public abstract LaunchApplication ( App application, string query ) : void
application App Application to be launched.
query string Query string in the format: "relative_url?param1=value1¶m2=value2". Set it to null for not sending extra launch data.
리턴 void

LaunchApplication() 공개 메소드

Launches the application given its name (matching it on the "app/config/launch-config.xml" configuration file).
public LaunchApplication ( string appName, string query ) : void
appName string App name for the application to be launched.
query string Query string in the format: "relative_url?param1=value1¶m2=value2". Set it to null for not sending extra launch data.
리턴 void

LoadLaunchConfig() 보호된 메소드

Load launch config file
protected LoadLaunchConfig ( ) : void
리턴 void

LockOrientation() 공개 추상적인 메소드

public abstract LockOrientation ( bool lockOrientation, DisplayOrientation orientation ) : System.Threading.Tasks.Task
lockOrientation bool
orientation DisplayOrientation
리턴 System.Threading.Tasks.Task

LockOrientation() 공개 메소드

Sets whether the current application should autorotate or not. If value is set to 'false', application's orientation will be set to the given orientation.
public LockOrientation ( bool lockOrientation, DisplayOrientation orientation ) : void
lockOrientation bool /// A value indicating whether the application view should autorotate; 'true' to remain on the specified orientation ///
orientation DisplayOrientation /// A the orientation enum constant that the application should be locked, if lock is false this value is ignored ///
리턴 void

ShowSplashScreen() 공개 추상적인 메소드

public abstract ShowSplashScreen ( ) : Task
리턴 Task

ShowSplashScreen() 공개 추상적인 메소드

Shows the splash screen.
public abstract ShowSplashScreen ( ) : bool
리턴 bool

프로퍼티 상세

locked 보호되어 있는 프로퍼티

protected bool locked
리턴 bool

lockedOrientation 보호되어 있는 프로퍼티

protected DisplayOrientation lockedOrientation
리턴 DisplayOrientation