C# 클래스 Unity.Platform.IPhone.IPhoneSystem

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

공개 메소드들

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

Dismisses or finishes the application programmatically.

DismissSplashScreen ( ) : bool

Dismisses the splash screen.

GetCPUInfo ( ) : Unity.Core.System.CPUInfo

Gets Processor Information

GetConfigFileBinaryData ( ) : byte[]

Method overrided, to use NSData to get stream from file resource inside application.

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

Get Display Information for the given display number.

GetDisplays ( ) : int

For IPhone, only 1 display is possible. For IPad, Screens[].lenght is requested (exception thrown when iphone).

GetInputButtons ( ) : InputButton[]
GetInputGestures ( ) : InputGesture[]
GetInputMethodCurrent ( ) : InputCapability
GetInputMethods ( ) : InputCapability[]
GetLocaleCurrent ( ) : System.Locale

Get Current Device Locale.

GetLocaleSupported ( ) : System.Locale[]

GetMemoryAvailable ( MemoryUse use ) : long
GetMemoryAvailable ( MemoryUse use, MemoryType type ) : long
GetMemoryAvailableTypes ( ) : MemoryType[]
GetMemoryStatus ( ) : Unity.Core.System.MemoryStatus
GetMemoryStatus ( MemoryType type ) : Unity.Core.System.MemoryStatus
GetOSHardwareInfo ( ) : Unity.Core.System.HardwareInfo

GetOSInfo ( ) : Unity.Core.System.OSInfo

Get Device Operating System Information.

GetOrientationSupported ( int displayNumber ) : DisplayOrientation[]

Returns supported orientations for given display number.

GetPowerInfo ( ) : Unity.Core.System.PowerInfo

Gets Power Information (level & status)

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

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

ShowSplashScreen ( ) : bool

Shows the splash screen.

비공개 메소드들

메소드 설명
GetDeviceOrientation ( ) : DisplayOrientation

Get Current Device Orientation.

GetLocaleFromLocaleIdentifier ( string localeIdentifier ) : System.Locale

메소드 상세

CopyToClipboard() 공개 메소드

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

DismissApplication() 공개 메소드

Dismisses or finishes the application programmatically.
public DismissApplication ( ) : void
리턴 void

DismissSplashScreen() 공개 메소드

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

GetCPUInfo() 공개 메소드

Gets Processor Information
public GetCPUInfo ( ) : Unity.Core.System.CPUInfo
리턴 Unity.Core.System.CPUInfo

GetConfigFileBinaryData() 공개 메소드

Method overrided, to use NSData to get stream from file resource inside application.
public GetConfigFileBinaryData ( ) : byte[]
리턴 byte[]

GetDisplayInfo() 공개 메소드

Get Display Information for the given display number.
public GetDisplayInfo ( int displayNumber ) : Unity.Core.System.DisplayInfo
displayNumber int /// A ///
리턴 Unity.Core.System.DisplayInfo

GetDisplays() 공개 메소드

For IPhone, only 1 display is possible. For IPad, Screens[].lenght is requested (exception thrown when iphone).
public GetDisplays ( ) : int
리턴 int

GetInputButtons() 공개 메소드

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

GetInputGestures() 공개 메소드

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

GetInputMethodCurrent() 공개 메소드

public GetInputMethodCurrent ( ) : InputCapability
리턴 InputCapability

GetInputMethods() 공개 메소드

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

GetLocaleCurrent() 공개 메소드

Get Current Device Locale.
public GetLocaleCurrent ( ) : System.Locale
리턴 System.Locale

GetLocaleSupported() 공개 메소드

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

GetMemoryAvailable() 공개 메소드

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

GetMemoryAvailable() 공개 메소드

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

GetMemoryAvailableTypes() 공개 메소드

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

GetMemoryStatus() 공개 메소드

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

GetMemoryStatus() 공개 메소드

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

GetOSHardwareInfo() 공개 메소드

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

GetOSInfo() 공개 메소드

Get Device Operating System Information.
public GetOSInfo ( ) : Unity.Core.System.OSInfo
리턴 Unity.Core.System.OSInfo

GetOrientationSupported() 공개 메소드

Returns supported orientations for given display number.
public GetOrientationSupported ( int displayNumber ) : DisplayOrientation[]
displayNumber int /// A ///
리턴 DisplayOrientation[]

GetPowerInfo() 공개 메소드

Gets Power Information (level & status)
public GetPowerInfo ( ) : Unity.Core.System.PowerInfo
리턴 Unity.Core.System.PowerInfo

GetUnityContext() 공개 메소드

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

LaunchApplication() 공개 메소드

Launches the given application with the needed launch data paramaters as a query string ().
public 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

ShowSplashScreen() 공개 메소드

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