jxa-types
Preparing search index...
foundation
NSURLSession
Interface NSURLSession
interface
NSURLSession
{
dataTaskWithURLCompletionHandler
:
(
request
:
NSURL
,
completionHandler
:
(
data
:
NSData
,
response
:
NSURLResponse
,
error
:
NSError
,
)
=>
void
,
)
=>
NSDataTask
;
js
:
object
;
getProperty
(
key
:
string
)
:
any
;
isNil
()
:
boolean
;
setProperty
(
key
:
string
,
value
:
any
)
:
any
;
}
Hierarchy (
View Summary
)
BridgedObject
<
IdType
>
NSURLSession
Index
Properties
data
Task
With
URL
Completion
Handler
js
Methods
get
Property
is
Nil
set
Property
Properties
data
Task
With
URL
Completion
Handler
dataTaskWithURLCompletionHandler
:
(
request
:
NSURL
,
completionHandler
:
(
data
:
NSData
,
response
:
NSURLResponse
,
error
:
NSError
,
)
=>
void
,
)
=>
NSDataTask
js
js
:
object
Methods
get
Property
getProperty
(
key
:
string
)
:
any
Parameters
key
:
string
Returns
any
is
Nil
isNil
()
:
boolean
Returns
boolean
set
Property
setProperty
(
key
:
string
,
value
:
any
)
:
any
Parameters
key
:
string
value
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
data
Task
With
URL
Completion
Handler
js
Methods
get
Property
is
Nil
set
Property
jxa-types
Loading...