Pro Android with Kotlin


data: A data URI, for example " http://xyz.com/type1 "  data


Download 5.42 Mb.
Pdf ko'rish
bet54/223
Sana04.11.2023
Hajmi5.42 Mb.
#1746807
1   ...   50   51   52   53   54   55   56   57   ...   223
Bog'liq
@de android telegram Pro Android with Kotlin Developing Modern Mobile

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: A 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: A 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: A 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



Download 5.42 Mb.

Do'stlaringiz bilan baham:
1   ...   50   51   52   53   54   55   56   57   ...   223




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling