Instrumentation.NewApplication 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
NewApplication(Class, Context) |
프로세스 |
NewApplication(ClassLoader, String, Context) |
프로세스 |
NewApplication(Class, Context)
프로세스 Application
개체의 인스턴스화를 수행합니다.
[Android.Runtime.Register("newApplication", "(Ljava/lang/Class;Landroid/content/Context;)Landroid/app/Application;", "")]
public static Android.App.Application? NewApplication (Java.Lang.Class? clazz, Android.Content.Context? context);
[<Android.Runtime.Register("newApplication", "(Ljava/lang/Class;Landroid/content/Context;)Landroid/app/Application;", "")>]
static member NewApplication : Java.Lang.Class * Android.Content.Context -> Android.App.Application
매개 변수
- clazz
- Class
Application 개체를 만드는 데 사용되는 클래스입니다.
- context
- Context
애플리케이션을 초기화할 컨텍스트입니다.
반환
새로 인스턴스화된 Application 개체입니다.
- 특성
설명
프로세스 Application
개체의 인스턴스화를 수행합니다. 기본 구현은 정상적인 시스템 동작을 제공합니다.
이 페이지의 일부는 만들고 공유하며 에 설명된 용어에 따라 사용되는 작업을 기반으로 수정됩니다.
적용 대상
NewApplication(ClassLoader, String, Context)
프로세스 Application
개체의 인스턴스화를 수행합니다.
[Android.Runtime.Register("newApplication", "(Ljava/lang/ClassLoader;Ljava/lang/String;Landroid/content/Context;)Landroid/app/Application;", "GetNewApplication_Ljava_lang_ClassLoader_Ljava_lang_String_Landroid_content_Context_Handler")]
public virtual Android.App.Application? NewApplication (Java.Lang.ClassLoader? cl, string? className, Android.Content.Context? context);
[<Android.Runtime.Register("newApplication", "(Ljava/lang/ClassLoader;Ljava/lang/String;Landroid/content/Context;)Landroid/app/Application;", "GetNewApplication_Ljava_lang_ClassLoader_Ljava_lang_String_Landroid_content_Context_Handler")>]
abstract member NewApplication : Java.Lang.ClassLoader * string * Android.Content.Context -> Android.App.Application
override this.NewApplication : Java.Lang.ClassLoader * string * Android.Content.Context -> Android.App.Application
매개 변수
- cl
- ClassLoader
개체를 인스턴스화할 ClassLoader입니다.
- className
- String
Application 개체를 구현하는 클래스의 이름입니다.
- context
- Context
애플리케이션을 초기화할 컨텍스트입니다.
반환
새로 인스턴스화된 Application 개체입니다.
- 특성
예외
설명
프로세스 Application
개체의 인스턴스화를 수행합니다. 기본 구현은 정상적인 시스템 동작을 제공합니다.
이 페이지의 일부는 만들고 공유하며 에 설명된 용어에 따라 사용되는 작업을 기반으로 수정됩니다.