Pro Android with Kotlin


type : The MIME type, for example  "text/html" or  "text/plain"   data



Yüklə 4,6 Kb.
Pdf görüntüsü
səhifə56/231
tarix29.11.2023
ölçüsü4,6 Kb.
#138831
1   ...   52   53   54   55   56   57   58   59   ...   231
@de android telegram Pro Android with Kotlin Developing Modern Mobile

type
: The MIME type, for example 
"text/html"
or 
"text/plain"
 
data
: A data URI, for example 
"
http://xyz.com/type1
"
 
data
and 
type
: Both of them
Here, the 
data
element allows for wildcard matching.
 
Presumed
action
and
category
match:

type
filter element matches 
if the sender’s specified MIME type is contained in the receiver’s list of 
allowed MIME types.
 
Presumed
action
and
category
match:

data
filter element matches 
if the sender’s specified data URI matches any of the receiver’s list of 
allowed data URIs (wildcard matching might apply).
 
Presumed
action
and
category
match:

data-and-type
filter element 
matches if both the MIME type and the data URI match, i.e., are 
contained within the receiver’s specified list.
Table 5-2. 
Category Matches
Receiver Action
Receiver Category
Sender
Match
com.xyz.ACT1
com.xyz.cate1
action = "com.xyz.ACT1"
Yes
com.xyz.ACT1
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
No
com.xyz.ACT1
com.xyz.cate1
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
Yes
com.xyz.ACT1
com.xyz.cate1
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
categ = "com.xyz.cate2"
No
com.xyz.ACT1
com.xyz.cate1
com.xyz.cate2
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
categ = "com.xyz.cate2"
Yes
com.xyz.ACT1
com.xyz.cate1
com.xyz.cate2
action = "com.xyz.ACT1"
categ = "com.xyz.cate1"
Yes
com.xyz.ACT1
any
action = "com.xyz.ACT2"
categ = any
No



Yüklə 4,6 Kb.

Dostları ilə paylaş:
1   ...   52   53   54   55   56   57   58   59   ...   231




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə