언어

TaskStackBuilder.GetPendingIntent 메서드

정의

오버로드

Name Description
GetPendingIntent(Int32, PendingIntentFlags)

지금까지 이 작성기에서 생성한 작업을 시작하기 위한 PendingIntent를 가져옵니다.

GetPendingIntent(Int32, PendingIntentFlags, Bundle)

지금까지 이 작성기에서 생성한 작업을 시작하기 위한 PendingIntent를 가져옵니다.

GetPendingIntent(Int32, PendingIntentFlags)

지금까지 이 작성기에서 생성한 작업을 시작하기 위한 PendingIntent를 가져옵니다.

[Android.Runtime.Register("getPendingIntent", "(II)Landroid/app/PendingIntent;", "GetGetPendingIntent_IIHandler")]
public virtual Android.App.PendingIntent? GetPendingIntent(int requestCode, Android.App.PendingIntentFlags flags);
[<Android.Runtime.Register("getPendingIntent", "(II)Landroid/app/PendingIntent;", "GetGetPendingIntent_IIHandler")>]
abstract member GetPendingIntent : int * Android.App.PendingIntentFlags -> Android.App.PendingIntent
override this.GetPendingIntent : int * Android.App.PendingIntentFlags -> Android.App.PendingIntent

매개 변수

requestCode
Int32

int: 보낸 사람용 프라이빗 요청 코드

flags
PendingIntentFlags

int: 실제 보내기가 발생할 때 제공할 수 있는 의도의 지정되지 않은 부분을 제어하기 위해 Intent.fillIn(Intent,int)에서 지원하는 플래그 중 PendingIntent.FLAG_ONE_SHOT, PendingIntent.FLAG_NO_CREATE, PendingIntent.FLAG_CANCEL_CURRENT, PendingIntent.FLAG_UPDATE_CURRENT 또는 플래그 중 어느 것이든지 제어할 수 있습니다. 값은 0 또는 다음의 조합입니다. PendingIntent.FLAG_ONE_SHOT PendingIntent.FLAG_NO_CREATE PendingIntent.FLAG_CANCEL_CURRENT PendingIntent.FLAG_UPDATE_CURRENT PendingIntent.FLAG_IMMUTABLE PendingIntent.FLAG_MUTABLE PendingIntent.FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT Intent.FILL_IN_ACTION Intent.FILL_IN_DATA Intent.FILL_IN_CATEGORIES Intent.FILL_IN_COMPONENT Intent.FILL_IN_PACKAGE Intent.FILL_IN_SOURCE_BOUNDS Intent.FILL_IN_SELECTOR Intent.FILL_IN_CLIP_ DATA

반품

가져온 PendingIntent

특성

설명

지금까지 이 작성기에서 생성한 작업을 시작하기 위한 PendingIntent를 가져옵니다.

에 대한 android.app.TaskStackBuilder.getPendingIntentAndroid 참조

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상

GetPendingIntent(Int32, PendingIntentFlags, Bundle)

지금까지 이 작성기에서 생성한 작업을 시작하기 위한 PendingIntent를 가져옵니다.

[Android.Runtime.Register("getPendingIntent", "(IILandroid/os/Bundle;)Landroid/app/PendingIntent;", "GetGetPendingIntent_IILandroid_os_Bundle_Handler")]
public virtual Android.App.PendingIntent? GetPendingIntent(int requestCode, Android.App.PendingIntentFlags flags, Android.OS.Bundle? options);
[<Android.Runtime.Register("getPendingIntent", "(IILandroid/os/Bundle;)Landroid/app/PendingIntent;", "GetGetPendingIntent_IILandroid_os_Bundle_Handler")>]
abstract member GetPendingIntent : int * Android.App.PendingIntentFlags * Android.OS.Bundle -> Android.App.PendingIntent
override this.GetPendingIntent : int * Android.App.PendingIntentFlags * Android.OS.Bundle -> Android.App.PendingIntent

매개 변수

requestCode
Int32

int: 보낸 사람용 프라이빗 요청 코드

flags
PendingIntentFlags

int: 실제 보내기가 발생할 때 제공할 수 있는 의도의 지정되지 않은 부분을 제어하기 위해 Intent.fillIn(Intent,int)에서 지원하는 플래그 중 PendingIntent.FLAG_ONE_SHOT, PendingIntent.FLAG_NO_CREATE, PendingIntent.FLAG_CANCEL_CURRENT, PendingIntent.FLAG_UPDATE_CURRENT 또는 플래그 중 어느 것이든지 제어할 수 있습니다. 값은 0 또는 다음의 조합입니다. PendingIntent.FLAG_ONE_SHOT PendingIntent.FLAG_NO_CREATE PendingIntent.FLAG_CANCEL_CURRENT PendingIntent.FLAG_UPDATE_CURRENT PendingIntent.FLAG_IMMUTABLE PendingIntent.FLAG_MUTABLE PendingIntent.FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT Intent.FILL_IN_ACTION Intent.FILL_IN_DATA Intent.FILL_IN_CATEGORIES Intent.FILL_IN_COMPONENT Intent.FILL_IN_PACKAGE Intent.FILL_IN_SOURCE_BOUNDS Intent.FILL_IN_SELECTOR Intent.FILL_IN_CLIP_ DATA

options
Bundle

번들: 활동을 시작하는 방법에 대한 추가 옵션입니다. 자세한 내용은 android.content.Context.startActivity(의도, 번들) Context.startActivity(의도, 번들)}를 참조하세요.

반품

가져온 PendingIntent

특성

설명

지금까지 이 작성기에서 생성한 작업을 시작하기 위한 PendingIntent를 가져옵니다.

에 대한 android.app.TaskStackBuilder.getPendingIntentAndroid 참조

이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.

적용 대상