PackageManager.QueryIntentActivityOptions 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
| 속성 | Description |
|---|---|
| QueryIntentActivityOptions(ComponentName, Intent[], Intent, PackageInfoFlags) |
사용자에게 유사한 옵션으로 제공해야 하는 활동 집합을 검색합니다. |
| QueryIntentActivityOptions(ComponentName, IList<Intent>, Intent, PackageInfoFlags) |
QueryIntentActivityOptions(ComponentName, Intent[], Intent, PackageInfoFlags)
사용자에게 유사한 옵션으로 제공해야 하는 활동 집합을 검색합니다.
[Android.Runtime.Register("queryIntentActivityOptions", "(Landroid/content/ComponentName;[Landroid/content/Intent;Landroid/content/Intent;I)Ljava/util/List;", "GetQueryIntentActivityOptions_Landroid_content_ComponentName_arrayLandroid_content_Intent_Landroid_content_Intent_IHandler")]
public abstract System.Collections.Generic.IList<Android.Content.PM.ResolveInfo> QueryIntentActivityOptions(Android.Content.ComponentName? caller, Android.Content.Intent[]? specifics, Android.Content.Intent intent, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("queryIntentActivityOptions", "(Landroid/content/ComponentName;[Landroid/content/Intent;Landroid/content/Intent;I)Ljava/util/List;", "GetQueryIntentActivityOptions_Landroid_content_ComponentName_arrayLandroid_content_Intent_Landroid_content_Intent_IHandler")>]
abstract member QueryIntentActivityOptions : Android.Content.ComponentName * Android.Content.Intent[] * Android.Content.Intent * Android.Content.PM.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.ResolveInfo>
매개 변수
- caller
- ComponentName
요청을 만드는 활동의 클래스 이름입니다. 이 활동은 출력 목록에 표시되지 않습니다. null일 수 있습니다.
- specifics
- Intent[]
첫 번째 특정 결과로 확인되어야 하는 의도의 배열입니다. null일 수 있습니다.
- intent
- Intent
resolveActivity()에 따라 원하는 의도입니다.
- flags
- PackageInfoFlags
반환된 데이터를 수정하는 추가 옵션 플래그입니다. 가장 중요한 것은 #MATCH_DEFAULT_ONLY해상도를 지원하는 android.content.Intent#CATEGORY_DEFAULT활동으로만 제한하는 것입니다.
반품
일치하는 각 작업에 대해 하나의 항목이 포함된 ResolveInfo 개체 목록을 반환합니다. 목록은 var specifics</var에서 <확인된 모든 의도와 var>의도/var>을 처리<할 수 있지만 var>>특정</>var> 의도< 중 <하나에 포함되지 않은 추가 활동에 의해 먼저 정렬됩니다. 일치하는 활동이 없으면 빈 목록이 반환됩니다.
- 특성
설명
사용자에게 유사한 옵션으로 제공해야 하는 활동 집합을 검색합니다. 이는 특정 옵션으로 확인하려는 보다 명시적인 의도 목록을 제공하고 해당 입력에 따라 중복되지 않고 적절한 순서로 최종 ResolveInfo 목록을 반환하는 것을 처리할 수 있다는 점을 제외하면 다음과 같습니다 #queryIntentActivities.
긴 플래그가 필요한 경우 사용합니다 #queryIntentActivityOptions(ComponentName, List, Intent, ResolveInfoFlags) .
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.
적용 대상
QueryIntentActivityOptions(ComponentName, IList<Intent>, Intent, PackageInfoFlags)
[Android.Runtime.Register("queryIntentActivityOptions", "(Landroid/content/ComponentName;Ljava/util/List;Landroid/content/Intent;I)Ljava/util/List;", "GetQueryIntentActivityOptions_Landroid_content_ComponentName_Ljava_util_List_Landroid_content_Intent_IHandler", ApiSince=33)]
public virtual System.Collections.Generic.IList<Android.Content.PM.ResolveInfo> QueryIntentActivityOptions(Android.Content.ComponentName? caller, System.Collections.Generic.IList<Android.Content.Intent>? specifics, Android.Content.Intent intent, Android.Content.PM.PackageInfoFlags flags);
[<Android.Runtime.Register("queryIntentActivityOptions", "(Landroid/content/ComponentName;Ljava/util/List;Landroid/content/Intent;I)Ljava/util/List;", "GetQueryIntentActivityOptions_Landroid_content_ComponentName_Ljava_util_List_Landroid_content_Intent_IHandler", ApiSince=33)>]
abstract member QueryIntentActivityOptions : Android.Content.ComponentName * System.Collections.Generic.IList<Android.Content.Intent> * Android.Content.Intent * Android.Content.PM.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.ResolveInfo>
override this.QueryIntentActivityOptions : Android.Content.ComponentName * System.Collections.Generic.IList<Android.Content.Intent> * Android.Content.Intent * Android.Content.PM.PackageInfoFlags -> System.Collections.Generic.IList<Android.Content.PM.ResolveInfo>
매개 변수
- caller
- ComponentName
- intent
- Intent
- flags
- PackageInfoFlags
반품
- 특성