C# 클래스 Unity.Platform.Windows.WindowsSystem

상속: Unity.Core.System.AbstractSystem
파일 보기 프로젝트 열기: Appverse/appverse-mobile 1 사용 예제들

공개 메소드들

메소드 설명
CopyToClipboard ( string text ) : bool
DismissApplication ( ) : void

Dismisses the current application.

DismissSplashScreen ( ) : bool

Dismisses the splash screen.

GetCPUInfo ( ) : Unity.Core.System.CPUInfo

Returns current CPU information.

GetDisplayInfo ( int displayNumber ) : Unity.Core.System.DisplayInfo

Returns the information for the given display number. Display array starts at 1 (primary display).

GetDisplays ( ) : int

Returns the number of screens connected to the device.

GetInputButtons ( ) : InputButton[]
GetInputGestures ( ) : InputGesture[]
GetInputMethodCurrent ( ) : InputCapability

GetInputMethods ( ) : InputCapability[]

Returns input methods supported by the device.

GetLocaleCurrent ( ) : Locale

Returns the current Culture Information (current locale).

GetLocaleSupported ( ) : Locale[]

Returns the supported locales. List ordered by the "LanguageISOCode-CountryISOCode".

GetMemoryAvailable ( MemoryUse use ) : long

Returns memory available for the given use (application or storage).

GetMemoryAvailable ( MemoryUse use, MemoryType type ) : long

Returns memory available for the given use (application or storage) and type. In this case, only one type is available, so method is returning memory status depending on use.

GetMemoryAvailableTypes ( ) : MemoryType[]

Returns windows memory types. In this case, only Main type is available.

GetMemoryStatus ( ) : Unity.Core.System.MemoryStatus

Returns TOTAL memory status information.

GetMemoryStatus ( MemoryType type ) : Unity.Core.System.MemoryStatus

Returns memory info for the given type. In this case, only one type is available, so method is returning total memory status.

GetOSHardwareInfo ( ) : Unity.Core.System.HardwareInfo

Returns current Hardware information.

GetOSInfo ( ) : Unity.Core.System.OSInfo

Returns current Operating System information.

GetOrientationSupported ( int displayNumber ) : DisplayOrientation[]

All displays will accept the two available orientations: portrait and landscape.

GetPowerInfo ( ) : Unity.Core.System.PowerInfo

Returns current battery information.

GetUnityContext ( ) : Unity.Core.System.UnityContext
LaunchApplication ( Unity application, string query ) : void
ShowSplashScreen ( ) : bool

Shows the splash screen.

비공개 메소드들

메소드 설명
GetApplicationMemoryStatus ( ) : Unity.Core.System.MemoryStatus

Returns memory information for the physical memory.

GetDiskMemoryStatus ( ) : Unity.Core.System.MemoryStatus

Returns space infroamtion for the local disk.

GetDisplayInfoList ( ) : Unity.Core.System.DisplayInfo[]

Provides information of screens connected to the device. Display 1 is the primary.

메소드 상세

CopyToClipboard() 공개 메소드

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

DismissApplication() 공개 메소드

Dismisses the current application.
public DismissApplication ( ) : void
리턴 void

DismissSplashScreen() 공개 메소드

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

GetCPUInfo() 공개 메소드

Returns current CPU information.
public GetCPUInfo ( ) : Unity.Core.System.CPUInfo
리턴 Unity.Core.System.CPUInfo

GetDisplayInfo() 공개 메소드

Returns the information for the given display number. Display array starts at 1 (primary display).
public GetDisplayInfo ( int displayNumber ) : Unity.Core.System.DisplayInfo
displayNumber int
리턴 Unity.Core.System.DisplayInfo

GetDisplays() 공개 메소드

Returns the number of screens connected to the device.
public GetDisplays ( ) : int
리턴 int

GetInputButtons() 공개 메소드

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

GetInputGestures() 공개 메소드

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

GetInputMethodCurrent() 공개 메소드

public GetInputMethodCurrent ( ) : InputCapability
리턴 InputCapability

GetInputMethods() 공개 메소드

Returns input methods supported by the device.
public GetInputMethods ( ) : InputCapability[]
리턴 InputCapability[]

GetLocaleCurrent() 공개 메소드

Returns the current Culture Information (current locale).
public GetLocaleCurrent ( ) : Locale
리턴 Locale

GetLocaleSupported() 공개 메소드

Returns the supported locales. List ordered by the "LanguageISOCode-CountryISOCode".
public GetLocaleSupported ( ) : Locale[]
리턴 Locale[]

GetMemoryAvailable() 공개 메소드

Returns memory available for the given use (application or storage).
public GetMemoryAvailable ( MemoryUse use ) : long
use MemoryUse Memory use.
리턴 long

GetMemoryAvailable() 공개 메소드

Returns memory available for the given use (application or storage) and type. In this case, only one type is available, so method is returning memory status depending on use.
public GetMemoryAvailable ( MemoryUse use, MemoryType type ) : long
use MemoryUse Memory use.
type MemoryType Memory type.
리턴 long

GetMemoryAvailableTypes() 공개 메소드

Returns windows memory types. In this case, only Main type is available.
public GetMemoryAvailableTypes ( ) : MemoryType[]
리턴 MemoryType[]

GetMemoryStatus() 공개 메소드

Returns TOTAL memory status information.
public GetMemoryStatus ( ) : Unity.Core.System.MemoryStatus
리턴 Unity.Core.System.MemoryStatus

GetMemoryStatus() 공개 메소드

Returns memory info for the given type. In this case, only one type is available, so method is returning total memory status.
public GetMemoryStatus ( MemoryType type ) : Unity.Core.System.MemoryStatus
type MemoryType Memory type.
리턴 Unity.Core.System.MemoryStatus

GetOSHardwareInfo() 공개 메소드

Returns current Hardware information.
public GetOSHardwareInfo ( ) : Unity.Core.System.HardwareInfo
리턴 Unity.Core.System.HardwareInfo

GetOSInfo() 공개 메소드

Returns current Operating System information.
public GetOSInfo ( ) : Unity.Core.System.OSInfo
리턴 Unity.Core.System.OSInfo

GetOrientationSupported() 공개 메소드

All displays will accept the two available orientations: portrait and landscape.
public GetOrientationSupported ( int displayNumber ) : DisplayOrientation[]
displayNumber int Display Number
리턴 DisplayOrientation[]

GetPowerInfo() 공개 메소드

Returns current battery information.
public GetPowerInfo ( ) : Unity.Core.System.PowerInfo
리턴 Unity.Core.System.PowerInfo

GetUnityContext() 공개 메소드

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

LaunchApplication() 공개 메소드

public LaunchApplication ( Unity application, string query ) : void
application Unity
query string
리턴 void

ShowSplashScreen() 공개 메소드

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