IntentService Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| IntentService() |
Creates an IntentService. |
| IntentService(String) |
Creates an IntentService. |
| IntentService(IntPtr, JniHandleOwnership) |
Initializes a managed representation of an existing Java Native Interface object. |
IntentService()
Creates an IntentService.
[Android.Runtime.Register(".ctor", "()V", "")]
protected IntentService();
- Attributes
Remarks
Creates an IntentService. Invoked by your subclass's constructor.
Android reference for android.app.IntentService.IntentService.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
IntentService(String)
Creates an IntentService.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public IntentService(string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.App.IntentService : string -> Android.App.IntentService
Parameters
- name
- String
String: Used to name the worker thread, important only for debugging.
- Attributes
Remarks
Creates an IntentService. Invoked by your subclass's constructor.
Android reference for android.app.IntentService.IntentService.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
IntentService(IntPtr, JniHandleOwnership)
Initializes a managed representation of an existing Java Native Interface object.
protected IntentService(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.IntentService : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.IntentService
Parameters
- javaReference
-
IntPtr
nativeint
The Java Native Interface object reference.
- transfer
- JniHandleOwnership
The ownership transfer to apply to the Java Native Interface object reference.
Remarks
This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.