ContextWrapper.StopService(Intent) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 애플리케이션 서비스를 중지할 것을 요청합니다.
[Android.Runtime.Register("stopService", "(Landroid/content/Intent;)Z", "GetStopService_Landroid_content_Intent_Handler")]
public override bool StopService(Android.Content.Intent? name);
[<Android.Runtime.Register("stopService", "(Landroid/content/Intent;)Z", "GetStopService_Landroid_content_Intent_Handler")>]
override this.StopService : Android.Content.Intent -> bool
매개 변수
- name
- Intent
중지할 서비스에 대한 설명입니다. 의도는 완전히 명시적이거나(구성 요소 이름 제공) 대상이 되는 특정 패키지 이름을 지정해야 합니다.
반품
이미 실행 중인 지정된 의도와 일치하는 서비스가 있는 경우 해당 서비스가 중지되고 true가 반환됩니다. 그렇지 않으면 false가 반환됩니다.
- 특성
설명
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.
에 대한 android.content.ContextWrapper.stopService(android.content.Intent)Java 설명서